Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_fastcgi_module.c @ 2396:848d944eae81
test port in fastcgi_pass variable
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 10 Dec 2008 16:25:14 +0000 |
parents | b1a24d3cf4dd |
children | 7af1e5fe102c |
comparison
equal
deleted
inserted
replaced
2395:b1a24d3cf4dd | 2396:848d944eae81 |
---|---|
495 if (u.err) { | 495 if (u.err) { |
496 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 496 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
497 "%s in upstream \"%V\"", u.err, &u.url); | 497 "%s in upstream \"%V\"", u.err, &u.url); |
498 } | 498 } |
499 | 499 |
500 return NGX_ERROR; | |
501 } | |
502 | |
503 if (u.no_port) { | |
504 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | |
505 "no port in upstream \"%V\"", &u.url); | |
500 return NGX_ERROR; | 506 return NGX_ERROR; |
501 } | 507 } |
502 | 508 |
503 r->upstream->resolved = ngx_pcalloc(r->pool, | 509 r->upstream->resolved = ngx_pcalloc(r->pool, |
504 sizeof(ngx_http_upstream_resolved_t)); | 510 sizeof(ngx_http_upstream_resolved_t)); |