~ubuntu-branches/ubuntu/quantal/nginx/quantal-updates

« back to all changes in this revision

Viewing changes to src/http/ngx_http_upstream.c

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2011-04-16 13:47:58 UTC
  • mfrom: (4.2.31 sid)
  • Revision ID: james.westby@ubuntu.com-20110416134758-yqca2qp5crh2hw2f
Tags: 1.0.0-2
* debian/rules:
  + Removed --with-file-aio support. Fixed FTBFS on kFreeBSD-* arch
    (Closes: #621882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
574
574
            }
575
575
        }
576
576
 
 
577
        if (u->resolved->port == 0) {
 
578
            ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
 
579
                          "no port in upstream \"%V\"", host);
 
580
            ngx_http_upstream_finalize_request(r, u,
 
581
                                               NGX_HTTP_INTERNAL_SERVER_ERROR);
 
582
            return;
 
583
        }
 
584
 
577
585
        temp.name = *host;
578
586
 
579
587
        ctx = ngx_resolve_start(clcf->resolver, &temp);