mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:23:40 +03:00
now counts header size return from server and if nothing is returned from a
HTTP server we return error
This commit is contained in:
parent
74d5a6fb3b
commit
4e37187e44
4 changed files with 13 additions and 2 deletions
|
|
@ -2034,6 +2034,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||
|
||||
conn->now = Curl_tvnow(); /* time this *after* the connect is done */
|
||||
conn->bytecount = 0;
|
||||
conn->headerbytecount = 0;
|
||||
|
||||
/* Figure out the ip-number and display the first host name it shows: */
|
||||
#ifdef ENABLE_IPV6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue