aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Move onboarding app to TornadoAldo Cortesi2014-12-271-2/+2
| | | | | | | Two reasons for this. First, this removes flask and its dependencies, which are quite sizeable. Second, pyinstaller now barfs on simplejson, which is a Flask dependency. I just don't have time to fix this upstream, so doing what we should be doing anyway is a no-brainer.
* fix tests, experimental travis speedupMaximilian Hils2014-12-242-2/+5
|
* web: intercept featureMaximilian Hils2014-12-231-6/+6
|
* --replay_ignore_payload_params added, to filter params in form postsMarcelo Glezer2014-12-181-12/+64
|
* Merge pull request #414 from mitmproxy/flowviews2Aldo Cortesi2014-12-123-34/+34
|\ | | | | Flowviews2
| * introduce revised views, port over changes from multiple_views branchMaximilian Hils2014-11-263-34/+34
| |
* | append file mode for saving flows merged to masterMarcelo Glezer2014-12-111-2/+9
| |
* | fix testsMaximilian Hils2014-12-011-1/+2
|/
* fix testsMaximilian Hils2014-11-151-2/+2
|
* Enable config file parsingAldo Cortesi2014-11-151-1/+17
| | | | | | | | | | | | | We support 4 different config files: ~/.mitmproxy/common.conf: Options that are common to all tools ~/.mitmproxy/mitmproxy.conf: Options for mitmproxy ~/.mitmproxy/mitmdump.conf: Options for mitmdump ~/.mitmproxy/mitmweb.conf: Options for mitmweb Options in the tool-specific config files over-ride options in common.conf. If a non-common option is put in common.conf, an error will be raised if a non-supporting tool is used.
* Adjust testsAldo Cortesi2014-11-152-9/+9
|
* handle script hooks in replay, fix tests, fix #402Maximilian Hils2014-11-141-3/+5
|
* fix testsMaximilian Hils2014-11-111-1/+2
|
* fix testsMaximilian Hils2014-11-071-9/+13
|
* Fix bug in flow dumping, add unit test that should have caught this in the ↵Aldo Cortesi2014-11-061-1/+15
| | | | first place
* Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxyAldo Cortesi2014-11-041-6/+29
|\
| * Updating OPTIONS test with related issue number.Wade 5242014-10-311-1/+1
| |
| * Adding some test coverage for handling HTTP OPTIONS requests.Wade 5242014-10-311-6/+29
| |
* | Release prep: binaries build script, release checklist, fuzzingAldo Cortesi2014-11-024-5/+21
|/
* LegibilityAldo Cortesi2014-10-262-2/+4
|
* Fix crash while streamingAldo Cortesi2014-10-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Found using fuzzing. Reproduction with pathoc, given "mitmproxy -s" and pathod running on 9999: get:'http://localhost:9999/p/':s'200:b\'foo\':h\'Content-Length\'=\'3\'':i58,'\x1a':r return flow.FlowMaster.run(self) File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/controller.py", line 111, in run self.tick(self.masterq, 0.01) File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/flow.py", line 613, in tick return controller.Master.tick(self, q, timeout) File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/controller.py", line 101, in tick self.handle(*msg) File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/controller.py", line 118, in handle m(obj) File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/flow.py", line 738, in handle_responseheaders self.stream_large_bodies.run(f, False) File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/flow.py", line 155, in run r.headers, is_request, flow.request.method, code File "/Users/aldo/mitmproxy/mitmproxy/netlib/http.py", line 401, in expected_http_body_size raise HttpError(400 if is_request else 502, "Invalid content-length header: %s" % headers["content-length"]) netlib.http.HttpError: Invalid content-length header: ['\x1a3']
* Start a fuzzing architecture for mitmproxyAldo Cortesi2014-10-267-4/+53
|
* fix #346Maximilian Hils2014-10-221-1/+11
|\
| * reverse proxy: adjust dst when reading flows, fix #346Maximilian Hils2014-09-081-2/+11
| |
* | fix race conditions in testsMaximilian Hils2014-10-192-0/+15
| |
* | add generic tcp proxying, fix #374Maximilian Hils2014-10-182-15/+86
| |
* | add test case for #375Maximilian Hils2014-10-171-0/+21
| |
* | --replay-ignore-content & --replay-ignore-param ported from branch 0.10Marcelo Glezer2014-10-031-9/+49
| |
* | Clean up and clarify StateObjectAldo Cortesi2014-09-172-29/+29
| | | | | | | | | | | | | | | | | | - Flatten the class hierarchy - get_state, load_state, from_state are public - Simplify code - Remove __eq__ and __neq__. This fundamentally changes the semantics of inherited objects in a way that's not part of the core function of the class
* | Remove external app option, make tick timeout explicitAldo Cortesi2014-09-142-5/+4
| |
* | fix testsMaximilian Hils2014-09-121-2/+2
| |
* | update distribution: pip install now works on WindowsMaximilian Hils2014-09-091-5/+0
| |
* | mitmproxy -> libmproxy.main. do some leanup on the wayMaximilian Hils2014-09-083-21/+22
|/
* remove proxy mode abstraction: always be clear which mode we are inMaximilian Hils2014-09-082-9/+5
|
* add --ignore ui indicationMaximilian Hils2014-09-082-5/+14
|
* improve change_server api, add example how to change the upstream serverMaximilian Hils2014-09-071-8/+6
|
* Merge pull request #347 from mitmproxy/issue_341Aldo Cortesi2014-09-0711-525/+589
|\ | | | | Remove BackReferenceMixin
| * Merge branch 'issue_341' into server_change_apiMaximilian Hils2014-09-061-4/+16
| |\
| | * Merge branch 'master' into issue_341Maximilian Hils2014-09-061-4/+16
| | |\
| * | | update docs, mostly revert 2f44b26b4cd014e03dd62a125d79af9b81663a93Maximilian Hils2014-09-053-48/+48
| | | |
| * | | iframe injector example: use inline scriptMaximilian Hils2014-09-051-0/+2
| | | |
| * | | change replay_request behaviour, refs #346; test upstream proxy modeMaximilian Hils2014-09-054-199/+204
| | | |
| * | | much tests. so tcp. very wow.Maximilian Hils2014-09-045-49/+54
| | | |
| * | | coverage++Maximilian Hils2014-09-044-5/+49
| | | |
| * | | coverage++Maximilian Hils2014-09-042-0/+33
| | | |
| * | | Merge branch 'issue_341' into server_change_apiMaximilian Hils2014-09-041-7/+0
| |\| |
| | * | Merge branch 'master' into issue_341Maximilian Hils2014-09-041-7/+0
| | |\ \
| * | | | improve HTTPRequest syntaxMaximilian Hils2014-09-034-67/+62
| |/ / /
| * | | fix #341 - work on flows instead of request/response internally.Maximilian Hils2014-09-0310-339/+319
| | | |
* | | | test streamingMaximilian Hils2014-09-061-4/+15
| | | |