mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:13:31 +03:00
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
mailing list.
This commit is contained in:
parent
d4b577114b
commit
bd3d5a17b4
6 changed files with 187 additions and 20 deletions
|
|
@ -2572,7 +2572,6 @@ int my_trace(CURL *handle, curl_infotype type,
|
|||
struct Configurable *config = (struct Configurable *)userp;
|
||||
FILE *output=config->errors;
|
||||
const char *text;
|
||||
|
||||
(void)handle; /* prevent compiler warning */
|
||||
|
||||
if(!config->trace_stream) {
|
||||
|
|
@ -2606,6 +2605,12 @@ int my_trace(CURL *handle, curl_infotype type,
|
|||
case CURLINFO_DATA_IN:
|
||||
text = "<= Recv data";
|
||||
break;
|
||||
case CURLINFO_SSL_DATA_IN:
|
||||
text = "<= Recv SSL data";
|
||||
break;
|
||||
case CURLINFO_SSL_DATA_OUT:
|
||||
text = "<= Send SSL data";
|
||||
break;
|
||||
}
|
||||
|
||||
dump(text, output, data, size, config->trace_ascii);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue