Fix client hangs #173

Open
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant
@mk-fg

mk-fg commented Apr 25, 2013

I didn't confirm it, but I suppose older twisted closed connections as soon as response was sent, which doesn't seem to be the case any longer, so convergence hangs for a long time polling for more data after receiving a complete reply.

These commits make notary code send Content-Length header and client code respect it.

Fix from #170 might still be necessary for the whole thing to work.

mk-fg added some commits Apr 24, 2013

client: respect content-length header when reading data from client s…
…ocket

Fixes hangs on connections that don't get closed but have no more
response data left.

@mk-fg mk-fg referenced this pull request Apr 28, 2013

Open

SSL slows to a crawl #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment