"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mod_http2/h2_session.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_session.c  (mod_http2-1.15.16):h2_session.c  (mod_http2-1.15.17)
skipping to change at line 313 skipping to change at line 313
stream = get_stream(session, frame->hd.stream_id); stream = get_stream(session, frame->hd.stream_id);
if (!stream) { if (!stream) {
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, session->c, APLOGNO(02920) ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, session->c, APLOGNO(02920)
"h2_stream(%ld-%d): on_header unknown stream", "h2_stream(%ld-%d): on_header unknown stream",
session->id, (int)frame->hd.stream_id); session->id, (int)frame->hd.stream_id);
return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE; return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE;
} }
status = h2_stream_add_header(stream, (const char *)name, namelen, status = h2_stream_add_header(stream, (const char *)name, namelen,
(const char *)value, valuelen); (const char *)value, valuelen);
if (status != APR_SUCCESS && !h2_stream_is_ready(stream)) { if (status != APR_SUCCESS
&& (!stream->rtmp
|| stream->rtmp->http_status == H2_HTTP_STATUS_UNSET)) {
return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE; return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE;
} }
return 0; return 0;
} }
/** /**
* nghttp2 session has received a complete frame. Most are used by nghttp2 * nghttp2 session has received a complete frame. Most are used by nghttp2
* for processing of internal state. Some, like HEADER and DATA frames, * for processing of internal state. Some, like HEADER and DATA frames,
* we need to act on. * we need to act on.
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

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