"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mod_http2/h2_task.c" between
mod_http2-1.15.16.tar.gz and mod_http2-1.15.17.tar.gz

About: mod_h[ttp]2 is an Apache httpd module implementing the HTTP2 protocol. It uses nghttp2 as base engine and connects it with the Apache infrastructure. Hint: Module (previous name "mod_h2") now integrated into Apache httpd (since v2.4.17). Experimental release.

h2_task.c  (mod_http2-1.15.16):h2_task.c  (mod_http2-1.15.17)
skipping to change at line 191 skipping to change at line 191
/* could not write all, buffer the rest */ /* could not write all, buffer the rest */
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, rv, task->c, APLOGNO(0340 5) ap_log_cerror(APLOG_MARK, APLOG_DEBUG, rv, task->c, APLOGNO(0340 5)
"h2_secondary_out(%s): saving brigade", task->id); "h2_secondary_out(%s): saving brigade", task->id);
ap_assert(NULL); ap_assert(NULL);
rv = ap_save_brigade(f, &task->output.bb, &bb, task->pool); rv = ap_save_brigade(f, &task->output.bb, &bb, task->pool);
flush = 1; flush = 1;
} }
} }
} }
if (APR_SUCCESS == rv && !task->output.opened && flush) { ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, task->c,
"h2_secondary_out(%s): buffered=%d", task->id, task->output.bu
ffered);
if (APR_SUCCESS == rv && !task->output.opened && (flush || !task->output.buf
fered)) {
/* got a flush or could not write all, time to tell someone to read */ /* got a flush or could not write all, time to tell someone to read */
rv = open_output(task); rv = open_output(task);
} }
out: out:
ap_log_cerror(APLOG_MARK, APLOG_TRACE2, rv, task->c, ap_log_cerror(APLOG_MARK, APLOG_TRACE2, rv, task->c,
"h2_secondary_out(%s): secondary_out leave", task->id); "h2_secondary_out(%s): secondary_out leave", task->id);
return rv; return rv;
} }
static apr_status_t output_finish(h2_task *task) static apr_status_t output_finish(h2_task *task)
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

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