"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/md_curl.c" between
mod_md-2.4.2.tar.gz and mod_md-2.4.4.tar.gz

About: mod_md is an Apache module that adds Let's Encrypt (ACME) support.

md_curl.c  (mod_md-2.4.2):md_curl.c  (mod_md-2.4.4)
skipping to change at line 215 skipping to change at line 215
case CURLINFO_HEADER_IN: case CURLINFO_HEADER_IN:
md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, req->pool, md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, req->pool,
"req[%d]: header <-- %s", req->id, apr_pstrndup(req->p ool, data, size)); "req[%d]: header <-- %s", req->id, apr_pstrndup(req->p ool, data, size));
break; break;
case CURLINFO_DATA_OUT: case CURLINFO_DATA_OUT:
md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, req->pool, md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, req->pool,
"req[%d]: data --> %ld bytes", req->id, (long)size); "req[%d]: data --> %ld bytes", req->id, (long)size);
if (md_log_is_level(req->pool, MD_LOG_TRACE5)) { if (md_log_is_level(req->pool, MD_LOG_TRACE5)) {
md_data_t d; md_data_t d;
const char *s; const char *s;
d.data = data; md_data_init(&d, data, size);
d.len = size;
md_data_to_hex(&s, 0, req->pool, &d); md_data_to_hex(&s, 0, req->pool, &d);
md_log_perror(MD_LOG_MARK, MD_LOG_TRACE5, 0, req->pool, md_log_perror(MD_LOG_MARK, MD_LOG_TRACE5, 0, req->pool,
"req[%d]: data(hex) --> %s", req->id, s); "req[%d]: data(hex) --> %s", req->id, s);
} }
break; break;
case CURLINFO_DATA_IN: case CURLINFO_DATA_IN:
md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, req->pool, md_log_perror(MD_LOG_MARK, MD_LOG_TRACE4, 0, req->pool,
"req[%d]: data <-- %ld bytes", req->id, (long)size); "req[%d]: data <-- %ld bytes", req->id, (long)size);
if (md_log_is_level(req->pool, MD_LOG_TRACE5)) { if (md_log_is_level(req->pool, MD_LOG_TRACE5)) {
md_data_t d; md_data_t d;
const char *s; const char *s;
d.data = data; md_data_init(&d, data, size);
d.len = size;
md_data_to_hex(&s, 0, req->pool, &d); md_data_to_hex(&s, 0, req->pool, &d);
md_log_perror(MD_LOG_MARK, MD_LOG_TRACE5, 0, req->pool, md_log_perror(MD_LOG_MARK, MD_LOG_TRACE5, 0, req->pool,
"req[%d]: data(hex) <-- %s", req->id, s); "req[%d]: data(hex) <-- %s", req->id, s);
} }
break; break;
default: default:
break; break;
} }
return 0; return 0;
} }
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)