]> granicus.if.org Git - curl/commit
http: send payload when (proxy) authentication is done
authorMarc Schlatter <mschlatter@gestour.com>
Mon, 11 Mar 2019 16:15:34 +0000 (17:15 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 13 Mar 2019 09:58:52 +0000 (10:58 +0100)
commitdd8a19f8a05b59394d1ab33c09497e8db884742a
tree5751407cd7e25c91d18e277e559336040b93bb87
parent5add3514e689a2cc9bc22413c25e9748c9180f41
http: send payload when (proxy) authentication is done

The check that prevents payload from sending in case of authentication
doesn't check properly if the authentication is done or not.

They're cases where the proxy respond "200 OK" before sending
authentication challenge. This change takes care of that.

Fixes #2431
Closes #3669
lib/http.c
tests/data/test1097