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:
@@ -10,7 +10,7 @@ HTTP GET
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK
|
||||
HTTP/1.1 200 OK swsclose
|
||||
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
Reference in New Issue
Block a user