diff options
author | Eric Wong <e@80x24.org> | 2016-06-03 01:56:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-03 01:58:09 +0000 |
commit | 976e81c9ff6ea2d007c486167e01d638bdbb4671 (patch) | |
tree | 22b8f6d97be9380e19d1a9ac3d48597748185e93 /lib/yahns/proxy_http_response.rb | |
parent | 50bd1a838eafa6cbca5e1b19fec1df4682da0bdb (diff) | |
download | yahns-976e81c9ff6ea2d007c486167e01d638bdbb4671.tar.gz |
"proxy_response_start" caller is ReqRes#yahns_step which already does a global rescue. Furthermore, it clobbers backtraces on network errors which programmers can do nothing to fix.
Diffstat (limited to 'lib/yahns/proxy_http_response.rb')
-rw-r--r-- | lib/yahns/proxy_http_response.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/yahns/proxy_http_response.rb b/lib/yahns/proxy_http_response.rb index 79b995a..2968062 100644 --- a/lib/yahns/proxy_http_response.rb +++ b/lib/yahns/proxy_http_response.rb @@ -220,8 +220,6 @@ module Yahns::HttpResponse # :nodoc: # all done reading response from upstream, req_res will be discarded # when we return nil: proxy_busy_mod(wbuf, req_res) - rescue => e - proxy_err_response(502, req_res, e, wbuf) end def proxy_response_finish(kcar, wbuf, req_res) |