Increase socks5_connect()'s optimism
authorFabian Keil <fk@fabiankeil.de>
Thu, 18 Jun 2015 15:26:40 +0000 (15:26 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 18 Jun 2015 15:26:40 +0000 (15:26 +0000)
commit4169cab396ff364c0c43f49cdb8d855dadb59c39
tree4ce1a9b6928307f0c9693bedb02fb061297f1a1f
parent2a468ab6482020e6c842fddd3dc22839865cffc0
Increase socks5_connect()'s optimism

... and let it send the request body optimistically as well.

It's not that complicated and, more importantly, previously
the request body wasn't guaranteed to be sent at all.

Should fix #1686 reported by Peter Müller and G4JC.
gateway.c