comparison src/http/ngx_http_upstream.c @ 7018:610a219b28f6

Upstream: style. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author Piotr Sikora <piotrsikora@google.com>
date Wed, 31 May 2017 13:51:36 -0700
parents ed1101bbf19f
children 6169dbad37d8
comparison
equal deleted inserted replaced
7017:057ec63be834 7018:610a219b28f6
2727 2727
2728 c = u->peer.connection; 2728 c = u->peer.connection;
2729 rev = c->read; 2729 rev = c->read;
2730 2730
2731 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, 2731 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
2732 "http upstream process body on memory"); 2732 "http upstream process body in memory");
2733 2733
2734 if (rev->timedout) { 2734 if (rev->timedout) {
2735 ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out"); 2735 ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out");
2736 ngx_http_upstream_finalize_request(r, u, NGX_HTTP_GATEWAY_TIME_OUT); 2736 ngx_http_upstream_finalize_request(r, u, NGX_HTTP_GATEWAY_TIME_OUT);
2737 return; 2737 return;