Files
SingularityViewer/indra/llmessage
Aleric Inglewood 6714d3585d Improve CURLTR debug output.
It was very confusing that only *after* a call to a libcurl function
it was written to debug output that it was called.
Now it prints it before calling it, and when that leads to additional
debug output while inside the function, it prints that before giving
the return value.

For example:

0x7f529ea15700   CURLTR      :   curl_multi_socket_action((CURLM*)0x7f528c002920, CURL_SOCKET_TIMEOUT, 0, <unfinished>
0x7f529ea15700   CURLIO      0xea8ef30       * About to connect() to login.agni.lindenlab.com port 443 (#0)
0x7f529ea15700   CURLIO      0xea8ef30       *   Trying 216.82.16.97...
0x7f529ea15700   CURLIO      0xea8ef30       * 0xe3240e0 is at send pipe head!
0x7f529ea15700   CURLIO      0xea8ef30       * STATE: CONNECT => WAITCONNECT handle 0x7f528c001df0; (connection #0)
0x7f529ea15700   CURLTR      :       curl_easy_getinfo((CURL*)0xe3240e0, CURLINFO_PRIVATE, 0x7f529ea13db0) = CURLE_OK
0x7f529ea15700   CURL        :       Entering MultiHandle::socket_callback((CURL*)0xe3240e0, 36, CURL_POLL_OUT, 0x7f528c001508, 0) [CURLINFO_PRIVATE = 0xea8ef30]
0x7f529ea15700   CURLTR      :         curl_easy_getinfo((CURL*)0xe3240e0, CURLINFO_PRIVATE, 0x7f529ea13d58) = CURLE_OK
0x7f529ea15700   CURLTR      :         curl_multi_assign((CURLM*)0x7f528c002920, 36, 0x7f528c031680) = 0
0x7f529ea15700   CURL        :         CurlSocketInfo::set_action(CURL_POLL_NONE --> CURL_POLL_OUT) [0xea8ef30]
0x7f529ea15700   CURL        :       MultiHandle::timer_callback(): timeout set to 1 ms.
0x7f529ea15700   CURLTR      :   <continued> {1}) = 0

Unfortunately, this breaks defining DEBUG_CURLIO without using libcwd,
but that was unusable already anyway (even though it compiled).
2013-11-24 18:24:09 +01:00
..
2012-04-29 00:25:40 -04:00
2013-05-07 02:01:31 +02:00
2013-07-08 17:25:06 +02:00
2013-01-08 17:50:09 +01:00
2012-12-24 19:58:54 +01:00
2013-11-24 18:24:09 +01:00
2012-03-06 07:31:15 +01:00
2013-10-12 02:49:11 -05:00
2012-10-26 04:13:29 +02:00
2013-02-12 20:47:55 -06:00
2013-02-12 20:47:55 -06:00
2012-08-09 10:56:29 -04:00
2012-10-31 05:01:24 +01:00
2013-07-31 15:49:34 -04:00
2012-07-16 22:35:04 +02:00
2012-03-06 07:31:15 +01:00
2012-11-03 14:13:13 +01:00
2013-11-02 01:20:05 -05:00
2012-10-31 23:11:42 +01:00
2012-07-20 08:13:07 -04:00
2013-09-27 03:14:51 +02:00
2012-11-03 14:13:13 +01:00
2012-03-06 07:31:15 +01:00
2013-09-27 03:14:51 +02:00