Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or

chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.
This commit is contained in:
Daniel Stenberg
2007-06-25 13:58:14 +00:00
parent 3dff58b3aa
commit 974fa1242a
4 changed files with 15 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ HTTP GET
# Server-side
<reply>
<data>
HTTP/1.1 200 OK
HTTP/1.1 200 OK swsclose
</data>
</reply>