mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
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:
parent
3dff58b3aa
commit
974fa1242a
4 changed files with 15 additions and 7 deletions
|
|
@ -10,7 +10,7 @@ HTTP GET
|
|||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK
|
||||
HTTP/1.1 200 OK swsclose
|
||||
|
||||
</data>
|
||||
</reply>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue