moxie0 / Convergence

An agile, distributed, and secure alternative to the Certificate Authority system.
http://convergence.io
623 stars 127 forks source link

Fix client hangs #173

Open mk-fg opened 11 years ago

mk-fg commented 11 years ago

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.