diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-09-01 12:32:09 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-09-01 12:32:09 +1200 |
commit | afe34e8b28988bdff91123862194606152c03c33 (patch) | |
tree | 891a543646fb6764a3c670e84103ce4936bd3bab /netlib/http/headers.py | |
parent | 9306e80e65bfa7e0945f4163536e2059e302e710 (diff) | |
download | mitmproxy-afe34e8b28988bdff91123862194606152c03c33.tar.gz mitmproxy-afe34e8b28988bdff91123862194606152c03c33.tar.bz2 mitmproxy-afe34e8b28988bdff91123862194606152c03c33.zip |
Improve the way we handle upstream errors
- Don't log a traceback for either HTTP or HTTPS DNS resolution or TCP
connection errors. These are "ordinary" errors, not mitmproxy issues.
- Ensure that the error handler is correctly called for SSL-related protocol
errors.
Diffstat (limited to 'netlib/http/headers.py')
0 files changed, 0 insertions, 0 deletions