Mercurial > hg > nginx
comparison src/http/ngx_http_spdy_filter_module.c @ 5483:86b563036d5a
SPDY: use predefined constant for size of the Stream-ID field.
No functional changes.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 18 Dec 2013 18:39:29 +0400 |
parents | 4ef49081ef4c |
children | 916cb6d28f6a |
comparison
equal
deleted
inserted
replaced
5482:a1c65fa499e2 | 5483:86b563036d5a |
---|---|
749 | 749 |
750 if (buf->start) { | 750 if (buf->start) { |
751 p = buf->start; | 751 p = buf->start; |
752 buf->pos = p; | 752 buf->pos = p; |
753 | 753 |
754 p += sizeof(uint32_t); | 754 p += NGX_SPDY_SID_SIZE; |
755 | 755 |
756 (void) ngx_spdy_frame_write_flags_and_len(p, flags, len); | 756 (void) ngx_spdy_frame_write_flags_and_len(p, flags, len); |
757 | 757 |
758 } else { | 758 } else { |
759 p = ngx_palloc(stream->request->pool, NGX_SPDY_FRAME_HEADER_SIZE); | 759 p = ngx_palloc(stream->request->pool, NGX_SPDY_FRAME_HEADER_SIZE); |