aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* exceptions: new SessionLoad exception for load errorsmadt1m2018-07-201-0/+4
|
* commands: refactor typesAldo Cortesi2017-12-181-0/+4
| | | | | | | The type system was scattered over a number of places, making it hard to follow. This collects all command types in types.py, and completion, validation and parsing for each type is centralised. We should use the same mechanism for options.
* command: save.file flowspec path -> NoneAldo Cortesi2017-04-271-1/+1
| | | | | | | | | Our first user-facing command. The following commands do the obvious things: save.file @marked /tmp/flows save.file @focus /tmp/flows save.file @hidden /tmp/flows save.file "~m get" /tmp/flows
* console: flow resolution commandAldo Cortesi2017-04-271-0/+4
| | | | | | | This is our first built-in command, which will be used by very many other commands. Also add a --commands option to dump all commands, analogous to --options.
* Clean up addonmanager interfaceAldo Cortesi2017-03-161-0/+3
| | | | | Clarify the plethora of invocation methods we've sprouted, correct some usages in the codebase.
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-201-1/+1
|
* Improve exception hierarchyAldo Cortesi2016-10-201-15/+15
| | | | | ProxyException -> MitmproxyException NetlibException inherits from MitmproxyException
* netlib.exceptions.* -> mitmproxy.exceptionsAldo Cortesi2016-10-201-1/+61
|
* addons: add AddonHalt exceptionAldo Cortesi2016-10-191-0/+4
| | | | | | This can be raised from an addon handler to stop further processing of a flow. Use this to prevent further handling of web app requests.
* python3: clean up super and __future__Aldo Cortesi2016-10-171-3/+2
|
* fix #1393Maximilian Hils2016-09-231-4/+0
|
* fix mitmdump error logging, fix #1549 (#1565)Maximilian Hils2016-09-211-0/+4
| | | | | | | This commit replaces the logging statement introduced in afe34e8b28988bdff91123862194606152c03c33 with the previous implementation where an exception is raised. ProtocolExceptions are normally logged as regular warnings, achieving the same effect for the end user. However, this retains the full stack trace for debug-level logging, which makes the analysis of client errors considerably easier.
* Remove obsolete exceptions.ScriptExceptionAldo Cortesi2016-09-111-24/+0
|
* Redesign client replayAldo Cortesi2016-09-111-0/+4
| | | | | - Move to an addon - Use a much simpler synchronisation mechanism
* http2: fixesThomas Kriechbaumer2016-09-031-0/+1
|
* http2: improve zombie exception handlingThomas Kriechbaumer2016-09-031-0/+3
|
* fix #1430Thomas Kriechbaumer2016-08-131-0/+4
|
* improve invalid certificate uxMaximilian Hils2016-07-271-0/+6
|
* First-order integration of scripts addonAldo Cortesi2016-07-141-0/+4
|
* More powerful Options schemeAldo Cortesi2016-07-131-0/+4
| | | | | | | | | | | This prepares us for the addon configuration mechanism and gives us a more flexible way to handle options changes. This changeset should spell the end of the current anti-pattern in our codebase where we duplicate data out of options onto the master when mutability is needed. From now on, Options can be the one source of thruth. - Change notifications - Rollback on error
* minor fixesMaximilian Hils2016-06-061-1/+1
|
* use module-level imports onlyMaximilian Hils2016-05-311-3/+2
|
* controller.ControlError -> exceptions.ControlExceptionAldo Cortesi2016-05-291-0/+4
|
* mitmproxy: fix most flake8 offensesThomas Kriechbaumer2016-05-281-0/+4
|
* http2: properly handle connection errorsThomas Kriechbaumer2016-05-171-1/+5
|
* improve script loadingMaximilian Hils2016-05-111-1/+21
|
* FlowReadError -> FlowReadExceptionMaximilian Hils2016-04-291-0/+4
|
* cleanup mitmproxy.controller, raise Kill in Channel (#1085)Maximilian Hils2016-04-141-0/+7
|
* minor improvementsMaximilian Hils2016-04-131-2/+0
|
* combine projectsMaximilian Hils2016-02-181-0/+57