need these at least for debugging 7.7 and probably later as well...
* Default action for 1.0 is to close.
*/
conn->bits.close = FALSE; /* don't close when done */
+ infof(data, "HTTP/1.0 proxy connection set to keep alive!\n");
}
else if (strnequal("Connection: close", p,
strlen("Connection: close"))) {
CURLcode Curl_disconnect(struct connectdata *conn)
{
+ infof(conn->data, "Closing live connection (#%d)\n", conn->connectindex);
+
if(-1 != conn->connectindex)
/* unlink ourselves! */
conn->data->connects[conn->connectindex] = NULL;
in spite of all our efforts to be nice */
if((CURLE_OK == result) && conn->bits.close)
result = Curl_disconnect(conn); /* close the connection */
+ else
+ infof(data, "Connection (#%d) left alive\n", conn->connectindex);
return result;
}