]> granicus.if.org Git - curl/commit
http-proxy: deal with EAGAIN
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Jun 2017 15:20:43 +0000 (17:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Jun 2017 15:22:32 +0000 (17:22 +0200)
commit12ccaed2a53c07edb12f5b4e944d3a78e6a6fa0c
tree29876c11e21c9fd887810de2281cf1dabf77e6bf
parente9422bc1936f3df60d9f51cfb41adaec74ab9626
http-proxy: deal with EAGAIN

... the previous code would reset the header length wrongly (since
5113ad0424). This makes test 1060 reliable again.

Also: make sws send even smaller chunks of data to increase the
likeliness of this happening.
lib/http_proxy.c
tests/server/sws.c