mirror of
https://github.com/curl/curl.git
synced 2026-06-02 02:44:35 +03:00
Make sure not to dereference the wrong UrlState proto union member when
switching from one protocol to another in a single request (e.g. redirecting from HTTP to FTP as in test 1055) by resetting state.expect100header before every request.
This commit is contained in:
parent
3800be3898
commit
515893595d
2 changed files with 8 additions and 1 deletions
8
CHANGES
8
CHANGES
|
|
@ -6,6 +6,12 @@
|
|||
|
||||
Changelog
|
||||
|
||||
Daniel Fandrich (23 Sep 2008)
|
||||
- Make sure not to dereference the wrong UrlState proto union member when
|
||||
switching from one protocol to another in a single request (e.g.
|
||||
redirecting from HTTP to FTP as in test 1055) by resetting
|
||||
state.expect100header before every request.
|
||||
|
||||
Daniel Stenberg (23 Sep 2008)
|
||||
- Introducing Jamie Lokier's function for date to epoch conversion used in the
|
||||
date parser function. This makes our function less dependent on system-
|
||||
|
|
@ -37,7 +43,7 @@ Daniel Stenberg (22 Sep 2008)
|
|||
CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now
|
||||
disabled it until we can figure out another way to exercise that logic.
|
||||
|
||||
- Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS +
|
||||
- Michael Goffioul filed bug report #2107377 "Problem with multi + GnuTLS +
|
||||
proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377) that showed how a multi
|
||||
interface using program didn't work when built with GnuTLS and a CONNECT
|
||||
request was done over a proxy (basically test 502 over a proxy to a HTTPS
|
||||
|
|
|
|||
|
|
@ -4682,6 +4682,7 @@ static CURLcode do_init(struct connectdata *conn)
|
|||
|
||||
conn->bits.done = FALSE; /* Curl_done() is not called yet */
|
||||
conn->bits.do_more = FALSE; /* by default there's no curl_do_more() to use */
|
||||
data->state.expect100header = FALSE;
|
||||
|
||||
/* NB: the content encoding software depends on this initialization */
|
||||
Curl_easy_initHandleData(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue