Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2_filter_module.c @ 6251:cbb8c32f78b5
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 22 Sep 2015 17:09:50 +0300 |
parents | 257b51c37c5a |
children | b2de4a56b860 |
comparison
equal
deleted
inserted
replaced
6250:0256738454dc | 6251:cbb8c32f78b5 |
---|---|
943 } | 943 } |
944 | 944 |
945 buf = cl->buf; | 945 buf = cl->buf; |
946 | 946 |
947 if (!buf->start) { | 947 if (!buf->start) { |
948 buf->start = ngx_palloc(stream->request->pool, NGX_HTTP_V2_FRAME_HEADER_SIZE); | 948 buf->start = ngx_palloc(stream->request->pool, |
949 NGX_HTTP_V2_FRAME_HEADER_SIZE); | |
949 if (buf->start == NULL) { | 950 if (buf->start == NULL) { |
950 return NULL; | 951 return NULL; |
951 } | 952 } |
952 | 953 |
953 buf->end = buf->start + NGX_HTTP_V2_FRAME_HEADER_SIZE; | 954 buf->end = buf->start + NGX_HTTP_V2_FRAME_HEADER_SIZE; |