summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2016-02-16 17:49:14 +0300
committerValentin Bartenev <vbart@nginx.com>2016-02-16 17:49:14 +0300
commitfcfe4832927557087365bb5d2e2a296336966317 (patch)
tree89f188567ae2bf71ff802177d224669b9ae35dcc /src
parent79654d53e3e0cde5f4f5023e3871e40e873c454f (diff)
downloadnginx-fcfe4832927557087365bb5d2e2a296336966317.tar.gz
nginx-fcfe4832927557087365bb5d2e2a296336966317.tar.bz2
HTTP/2: use local pointer instead of r->connection.
No functional changes.
Diffstat (limited to 'src')
-rw-r--r--src/http/v2/ngx_http_v2_filter_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/v2/ngx_http_v2_filter_module.c b/src/http/v2/ngx_http_v2_filter_module.c
index c824138d2..d93965c96 100644
--- a/src/http/v2/ngx_http_v2_filter_module.c
+++ b/src/http/v2/ngx_http_v2_filter_module.c
@@ -387,14 +387,14 @@ ngx_http_v2_header_filter(ngx_http_request_t *r)
}
if (header[i].key.len > NGX_HTTP_V2_MAX_FIELD) {
- ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
+ ngx_log_error(NGX_LOG_CRIT, fc->log, 0,
"too long response header name: \"%V\"",
&header[i].key);
return NGX_ERROR;
}
if (header[i].value.len > NGX_HTTP_V2_MAX_FIELD) {
- ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
+ ngx_log_error(NGX_LOG_CRIT, fc->log, 0,
"too long response header value: \"%V: %V\"",
&header[i].key, &header[i].value);
return NGX_ERROR;