Mercurial > hg > nginx-quic
comparison src/event/ngx_event_busy_lock.h @ 5528:d5de6c25b759
SPDY: use frame->next pointer to chain free frames.
There is no need in separate "free" pointer and like it is for ngx_chain_t
the "next" pointer can be used. But after this change successfully handled
frame should not be accessed, so the frame handling cycle was improved to
store pointer to the next frame before processing.
Also worth noting that initializing "free" pointer to NULL in the original
code was surplus.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 22 Jan 2014 04:58:19 +0400 |
parents | d620f497c50f |
children | 457ec43dd8d5 |
comparison
equal
deleted
inserted
replaced
5527:f3f7b72ca6e9 | 5528:d5de6c25b759 |
---|