Skip to content
Snippets Groups Projects
Commit 3c3ad134 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

the default debugfunction shows incoming headers as well

parent a4ffcfd4
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,7 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
switch(type) {
case CURLINFO_TEXT:
case CURLINFO_HEADER_OUT:
case CURLINFO_HEADER_IN:
fwrite(s_infotype[type], 2, 1, data->set.err);
fwrite(ptr, size, 1, data->set.err);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment