mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
debug: added new connection cache output, plus fixups
Debug output 'typo' fix. Don't print an extra "0x" in * Pipe broke: handle 0x0x2546d88, url = / Add debug output. Print the number of connections in the connection cache when adding one, and not only when one is removed. Fix typos in comments.
This commit is contained in:
parent
b77ff4d589
commit
013d5c18c3
3 changed files with 7 additions and 3 deletions
|
|
@ -524,7 +524,7 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
|
|||
connection. */
|
||||
connclose(data->easy_conn, "Removed with partial response");
|
||||
/* Set connection owner so that Curl_done() closes it.
|
||||
We can sefely do this here since connection is killed. */
|
||||
We can safely do this here since connection is killed. */
|
||||
data->easy_conn->data = easy;
|
||||
easy_owns_conn = TRUE;
|
||||
}
|
||||
|
|
@ -944,7 +944,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||
/* Handle the case when the pipe breaks, i.e., the connection
|
||||
we're using gets cleaned up and we're left with nothing. */
|
||||
if(data->state.pipe_broke) {
|
||||
infof(data, "Pipe broke: handle 0x%p, url = %s\n",
|
||||
infof(data, "Pipe broke: handle %p, url = %s\n",
|
||||
(void *)data, data->state.path);
|
||||
|
||||
if(data->mstate < CURLM_STATE_COMPLETED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue