mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
the SingleRequest one to make pipelining better. It is a bit tricky to keep them in the right place, to keep things related to the actual request or to the actual connection in the right place.
This commit is contained in:
parent
b3186dee17
commit
b620e62f0f
8 changed files with 62 additions and 63 deletions
|
|
@ -181,7 +181,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
|
|||
if(*datap == 0x0a) {
|
||||
/* we're now expecting data to come, unless size was zero! */
|
||||
if(0 == ch->datasize) {
|
||||
if(conn->bits.trailerhdrpresent!=TRUE) {
|
||||
if(k->trailerhdrpresent!=TRUE) {
|
||||
/* No Trailer: header found - revert to original Curl processing */
|
||||
ch->state = CHUNK_STOPCR;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue