Mercurial > hg > nginx-quic
comparison src/event/ngx_event_connect.c @ 7004:b624fbf7bee2
HTTP/2: fixed segfault when memory allocation failed.
If allocation of cleanup handler in the HTTP/2 header filter failed, then
a stream might be freed with a HEADERS frame left in the output queue.
Now the HEADERS frame is accounted in the queue before trying to allocate
the cleanup handler.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 23 May 2017 20:19:39 +0300 |
parents | 56fc55e32f23 |
children | 8b70d4caa505 |
comparison
equal
deleted
inserted
replaced
7003:7943298d4ac0 | 7004:b624fbf7bee2 |
---|