Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2_filter_module.c @ 6400:b4c28876d2c3
HTTP/2: use local pointer instead of r->connection.
No functional changes.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 16 Feb 2016 17:49:14 +0300 |
parents | ba3c2ca21aa5 |
children | 6812ca9a8002 |
comparison
equal
deleted
inserted
replaced
6399:50fb3fd79f76 | 6400:b4c28876d2c3 |
---|---|
385 if (header[i].hash == 0) { | 385 if (header[i].hash == 0) { |
386 continue; | 386 continue; |
387 } | 387 } |
388 | 388 |
389 if (header[i].key.len > NGX_HTTP_V2_MAX_FIELD) { | 389 if (header[i].key.len > NGX_HTTP_V2_MAX_FIELD) { |
390 ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0, | 390 ngx_log_error(NGX_LOG_CRIT, fc->log, 0, |
391 "too long response header name: \"%V\"", | 391 "too long response header name: \"%V\"", |
392 &header[i].key); | 392 &header[i].key); |
393 return NGX_ERROR; | 393 return NGX_ERROR; |
394 } | 394 } |
395 | 395 |
396 if (header[i].value.len > NGX_HTTP_V2_MAX_FIELD) { | 396 if (header[i].value.len > NGX_HTTP_V2_MAX_FIELD) { |
397 ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0, | 397 ngx_log_error(NGX_LOG_CRIT, fc->log, 0, |
398 "too long response header value: \"%V: %V\"", | 398 "too long response header value: \"%V: %V\"", |
399 &header[i].key, &header[i].value); | 399 &header[i].key, &header[i].value); |
400 return NGX_ERROR; | 400 return NGX_ERROR; |
401 } | 401 } |
402 | 402 |