Index: curl_easy_getinfo.3 =================================================================== RCS file: /cvsroot/curl/curl/docs/libcurl/curl_easy_getinfo.3,v retrieving revision 1.14 diff -u -r1.14 curl_easy_getinfo.3 --- curl_easy_getinfo.3 1 Oct 2004 06:43:48 -0000 1.14 +++ curl_easy_getinfo.3 19 Oct 2004 14:59:30 -0000 @@ -113,6 +113,13 @@ .IP CURLINFO_OS_ERRNO Pass a pointer to a long to receive the errno variable from a connect failure. (Added in 7.12.2) +.IP CURLINFO_NUM_CONNECTS +Pass a pointer to a long to receive how many new connections libcurl had to +create to achieve the download (only the successful connects are counted). +Combined with \fICURLINFO_REDIRECT_COUNT\fP you are able to know how many times +libcurl reused successfully existing connection(s) or not. +See the Connection Options of \fIcurl_easy_setopt(3)\fP to see how libcurl +tries to make persistent connections to save time. (Added in 7.12.3) .SH RETURN VALUE If the operation was successful, CURLE_OK is returned. Otherwise an appropriate error code will be returned.