diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2017-08-18 10:43:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-18 15:25:22 +0200 |
commit | 74dac344b2feb2e0f4baddb70532dc8e45d2d817 (patch) | |
tree | 96e29a524ed5a407ef9e01d0946466db6063bed3 /tests/libtest/lib591.c | |
parent | 1f39245dc8da51dcd81e5aed2fdd5d1f7ebbe23b (diff) |
http: Don't wait on CONNECT when there is no proxy
Since curl 7.55.0, NetworkManager almost always failed its connectivity
check by timeout. I bisected this to 5113ad04 (http-proxy: do the HTTP
CONNECT process entirely non-blocking).
This patch replaces !Curl_connect_complete with Curl_connect_ongoing,
which returns false if the CONNECT state was left uninitialized and lets
the connection continue.
Closes #1803
Fixes #1804
Also-fixed-by: Gergely Nagy
Diffstat (limited to 'tests/libtest/lib591.c')
0 files changed, 0 insertions, 0 deletions