Not sure this can happen, but the tests in this function handle such a case, so they should handle it correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1742359 13f79535-47bb-0310-9956-
ffa450edef68
{
h2_mplx *m = ctx;
h2_task *task = val;
- h2_stream *stream = h2_ihash_get(m->streams, task->stream_id);
- if (task->request) {
+
+ if (task && task->request) {
+ h2_stream *stream = h2_ihash_get(m->streams, task->stream_id);
+
ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, m->c, /* NO APLOGNO */
"->03198: h2_stream(%s): %s %s %s -> %s %d"
"[orph=%d/started=%d/done=%d]",