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 |