Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.c @ 6313:be3aed17689c
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 02 Dec 2015 01:06:54 +0300 |
parents | b1858fc47e3b |
children | f44de0d12143 |
comparison
equal
deleted
inserted
replaced
6312:1d696c646d81 | 6313:be3aed17689c |
---|---|
639 | 639 |
640 if (u->resolved->port == 0) { | 640 if (u->resolved->port == 0) { |
641 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 641 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
642 "no port in upstream \"%V\"", host); | 642 "no port in upstream \"%V\"", host); |
643 ngx_http_upstream_finalize_request(r, u, | 643 ngx_http_upstream_finalize_request(r, u, |
644 NGX_HTTP_INTERNAL_SERVER_ERROR); | 644 NGX_HTTP_INTERNAL_SERVER_ERROR); |
645 return; | 645 return; |
646 } | 646 } |
647 | 647 |
648 if (ngx_http_upstream_create_round_robin_peer(r, u->resolved) | 648 if (ngx_http_upstream_create_round_robin_peer(r, u->resolved) |
649 != NGX_OK) | 649 != NGX_OK) |