Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the

mailing list.
This commit is contained in:
Daniel Stenberg 2004-06-18 06:20:43 +00:00
parent d4b577114b
commit bd3d5a17b4
6 changed files with 187 additions and 20 deletions

View file

@ -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);