Skip to content

Commit

Permalink
added a comment explaining why we cannot return 503 when the connecti…
Browse files Browse the repository at this point in the history
…on pool is already full.
  • Loading branch information
agentzh committed Apr 16, 2010
1 parent 111204e commit 579f3bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ngx_http_upstream_drizzle.c
Expand Up @@ -500,6 +500,8 @@ ngx_http_upstream_drizzle_get_peer(ngx_peer_connection_t *pc, void *data)
"to upstream \"%V\"",
&peer->name);

/* XXX Here we cannot return 503 or finalize the request using 503
* ourselves due to a bug in ngx_http_upstream.c */
return NGX_ERROR;
}

Expand Down

0 comments on commit 579f3bb

Please sign in to comment.