Mercurial > hg > nginx
comparison src/http/ngx_http_spdy_filter_module.c @ 5530:827e53c136b0
SPDY: use ngx_queue_t to queue streams for post processing.
It simplifies the code and allows easy reuse the same queue pointer to store
streams in various queues with different requirements. Future implementation
of SPDY/3.1 will take advantage of this quality.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 20 Jan 2014 20:56:49 +0400 |
parents | e4adaa47af65 |
children | 39d7eef2e332 |
comparison
equal
deleted
inserted
replaced
5529:e4adaa47af65 | 5530:827e53c136b0 |
---|---|
1071 | 1071 |
1072 if (!wev->timer_set) { | 1072 if (!wev->timer_set) { |
1073 wev->delayed = 0; | 1073 wev->delayed = 0; |
1074 | 1074 |
1075 stream->handled = 1; | 1075 stream->handled = 1; |
1076 | 1076 ngx_queue_insert_tail(&sc->posted, &stream->queue); |
1077 stream->next = sc->last_stream; | |
1078 sc->last_stream = stream; | |
1079 } | 1077 } |
1080 } | 1078 } |
1081 | 1079 |
1082 | 1080 |
1083 static void | 1081 static void |