Changelog
+Daniel Stenberg (11 May 2009)
+- I fixed the problem with doing NTLM, POST and then following a 302 redirect,
+ as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on
+ curl-library). The transfer was mistakenly marked to get more data to send
+ but since it didn't actually have that, it just hung there...
+
Daniel Stenberg (10 May 2009)
- Andre Guibert de Bruet correctly pointed out an over-alloc with one wasted
byte in the digest code.
o fixed roff mistakes in man pages
o use SOCKS proxy with the multi interface
o fixed the Curl_getoff_all_pipelines SIGSEGV
+ o POST, NTLM and following a redirect hang
This release includes the following known bugs:
Kamil Dudka, Jim Freeman, Daniel Johnson, Toshio Kuratomi, Martin Storsjo,
Pramod Sharma, Gisle Vanem, Lenaic Lefever, Rainer Koenig, Sven Wegener,
Tim Chen, Constantine Sapuntzakis, David McCreedy, Michael Smith,
- Colin Watson
+ Colin Watson, Ebenezer Ikonne, Laurent Rabret
Thanks! (and sorry if I forgot to mention someone)
236 - timeout in milliseconds doesn't seem to work
-237 - Redirection failing with NTLM authentication
-
239 -
To be addressed in 7.19.6 (planned release: July 2009)
case HTTPREQ_POST:
if(data->set.postfieldsize != -1)
expectsend = data->set.postfieldsize;
+ else if(data->set.postfields)
+ expectsend = (curl_off_t)strlen(data->set.postfields);
break;
case HTTPREQ_PUT:
if(data->set.infilesize != -1)
# per line.
# Lines starting with '#' letters are treated as comments.
563
-1100
+
<reply>
<data>
-HTTP/1.1 200 Thanks for this, but we want to redir you! swsclose\r
+HTTP/1.1 200 Thanks for this! swsclose\r
Content-Length: 25\r
\r
This is the final page !
HTTP/1.1 302 Thanks for this, but we want to redir you!\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
+Location: /1100\r
Content-Length: 34\r
\r
-This is not the real page either!
+HTTP/1.1 200 Thanks for this! swsclose\r
+Content-Length: 25\r
+\r
+This is the final page !
</datacheck>
</reply>
<strippart>
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
</strippart>
-<protocol nonewline="yes">
+<protocol>
POST /1100 HTTP/1.1\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
Content-Length: 18\r
Content-Type: application/x-www-form-urlencoded\r
\r
-stuff to send away
+stuff to send awayGET /1100 HTTP/1.1\r
+User-Agent: curl/7.19.5-CVS (i686-pc-linux-gnu) libcurl/7.19.5-CVS GnuTLS/2.6.6 zlib/1.2.3.3 c-ares/1.6.1-CVS libidn/1.14 libssh2/1.1\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
+\r
</protocol>
</verify>
</testcase>