]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test 1326: fix getting stuck on Windows due to incomplete request
authorMarc Hoersken <info@marc-hoersken.de>
Thu, 17 Dec 2015 14:12:19 +0000 (15:12 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Thu, 17 Dec 2015 14:14:36 +0000 (15:14 +0100)
The request needs to be read and send in binary mode in order to use
CRLF instead of LF. Adding --upload-file - causes curl to read stdin
in binary mode.

tests/data/test1326

index bb0cbaccf7e7d1afa2be845710345b6a9c6615f6..2bcf64bda9dc427e25abd54ff73e2cd9b8638fe9 100644 (file)
@@ -33,7 +33,7 @@ GET /we/want/1326 HTTP/1.0
 \r
 </stdin>
  <command>
-telnet://%HOSTIP:%HTTPPORT
+telnet://%HOSTIP:%HTTPPORT --upload-file -
 </command>
 </client>