| commit | b4cb8475b142c0a76e3aa2b715cd9429784dd27e | [log] [tgz] |
|---|---|---|
| author | FengGu <flygoast@126.com> | Wed Aug 13 14:53:55 2014 +0800 |
| committer | FengGu <flygoast@126.com> | Wed Aug 13 14:53:55 2014 +0800 |
| tree | 8e47fa97b71dbd75e73b90da69351ff9310b0b7a | |
| parent | cb8a0327ab689867f6ea9e05fcb3242883e83bc2 [diff] |
Upstream: avoided directly terminating the connection. When memory allocation failed in ngx_http_upstream_cache(), the connection would be terminated directly in ngx_http_upstream_init_request(). Return a INTERNAL_SERVER_ERROR response instead.