commit | e62156d8292eb288ad456d6ba1eb96db7ce2a6b6 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Wed Jan 22 04:58:19 2014 +0400 |
committer | Valentin Bartenev <vbart@nginx.com> | Wed Jan 22 04:58:19 2014 +0400 |
tree | 21fa9d31d24c75a79521af09a2f2666a6dc51161 | |
parent | 650984cd20fe526a6eef0c014fbd92a06aeb1f7a [diff] |
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.