Re: HTTP/2 response completed before its request

In message <CAP+FsNfx5bO+W5sOEnVj5TJPqZbW-yND2Xo3Tu7nycV_zSaSxA@mail.gmail.com>, Roberto Peon writes:

>So, essentially, the bug here would be on the side that isn't reading,
>regardless of the endpoint being client or server.
>
>Any side which ceases reading/examining received bytes can cause the
>session to enter into a deadlock state.

How would that ever work ?

To send any data you need to receive WINDOW updates, so there is no
way to stop paying attention to incoming frames and expect things to
work in any way.

The most likely way that could happen is mutual TCP window lockout,
but that can only happen if boths sides are either primitively
half-duplex or broken in some other way.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Received on Tuesday, 1 July 2014 21:01:21 UTC