Always write curl I/O debug info for the login attempt.

This commit is contained in:
Aleric Inglewood
2012-07-21 21:51:24 +02:00
parent 3a30f1dc71
commit fb38f6adea
2 changed files with 9 additions and 1 deletions

View File

@@ -887,6 +887,8 @@ static int curl_debug_callback(CURL*, curl_infotype infotype, char* buf, size_t
marker << (void*)request->get_lockobj();
libcw_do.push_marker();
libcw_do.marker().assign(marker.str().data(), marker.str().size());
if (!debug::channels::dc::curlio.is_on())
debug::channels::dc::curlio.on();
LibcwDoutScopeBegin(LIBCWD_DEBUGCHANNELS, libcw_do, dc::curlio|cond_nonewline_cf(infotype == CURLINFO_TEXT))
switch (infotype)
{