Commit f4bef25b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

CURLINFO_NUM_CONNECTS and more

parent ebf7d225
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7,6 +7,12 @@
                                  Changelog

Daniel (19 October 2004)
- Guillaume Arluison added CURLINFO_NUM_CONNECTS to allow an app to figure
  out how many new connects a previous transfer required.

  I added %{num_connects} to the curl tool and added test case 192 and 193
  to verify the new code.

- Test case 165 modified to use a charset define older iconv versions
  understand. ISO-8859-1 instead of ISO8859-1. Bug report #1049275 (anonymous)

+6 −3
Original line number Diff line number Diff line
@@ -10,18 +10,21 @@ Curl and libcurl 7.12.3

This release includes the following changes:

 o 
 o added CURLINFO_NUM_CONNECTS

This release includes the following bugfixes:

 o 
 o test 165 works with older iconv versions as well
 o use setlocale() for better IDN functionality by default

Other curl-related news since the previous public release:

 o 
 o pycurl 7.12.2: http://pycurl.sf.net/
 o TclCurl 0.12.2: http://personal1.iddeo.es/andresgarci/tclcurl/english/

This release would not have looked like this without help, code, reports and
advice from friends like these:

 Peter Wullinger, Guillaume Arluison

        Thanks! (and sorry if I forgot to mention someone)
+1 −3
Original line number Diff line number Diff line
Issues not sorted in any particular order.

To get fixed in 7.12.2 (planned release: mid October 2004)
======================

To get fixed in 7.12.3 (planned release: December 2004)
======================

47 - Peter Sylvester's patch for SRP on the TLS layer

48 - MSVC Makefile improvements by Samuel Díaz García
+7 −0
Original line number Diff line number Diff line
@@ -113,6 +113,13 @@ method(s) available for your proxy authentication. (Added in 7.10.8)
.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 previous transfer (only the successful connects are
counted).  Combined with \fICURLINFO_REDIRECT_COUNT\fP you are able to know
how many times libcurl successfully reused 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.
+2 −1
Original line number Diff line number Diff line
@@ -1179,9 +1179,10 @@ typedef enum {
  CURLINFO_HTTPAUTH_AVAIL   = CURLINFO_LONG   + 23,
  CURLINFO_PROXYAUTH_AVAIL  = CURLINFO_LONG   + 24,
  CURLINFO_OS_ERRNO         = CURLINFO_LONG   + 25,
  CURLINFO_NUM_CONNECTS     = CURLINFO_LONG   + 26,
  /* Fill in new entries below here! */

  CURLINFO_LASTONE          = 26
  CURLINFO_LASTONE          = 27
} CURLINFO;

/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as
Loading