now counts header size return from server and if nothing is returned from a

HTTP server we return error
This commit is contained in:
Daniel Stenberg
2001-10-19 11:58:32 +00:00
parent 74d5a6fb3b
commit 4e37187e44
4 changed files with 13 additions and 2 deletions

View File

@@ -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