aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Adding some test coverage for handling HTTP OPTIONS requests.Wade 5242014-10-311-6/+29
|
* 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
| | | |
* | | | coverage++Maximilian Hils2014-09-062-1/+24
| |_|/ |/| |
* | | coverage++Maximilian Hils2014-09-061-4/+16
| |/ |/|
* | remove outdated IOError test case ↵Maximilian Hils2014-09-041-10/+0
| | | | | | | | (https://github.com/mitmproxy/netlib/commit/f5fdfd8a9f17e0fe213a9cf54acae84e4bc31462)
* | fix IOError handlingMaximilian Hils2014-09-031-1/+4
|/
* improve error handlingMaximilian Hils2014-09-021-2/+2
|
* refactor protocol handling, fix #332Maximilian Hils2014-08-302-3/+8
|
* fix #328Maximilian Hils2014-08-241-2/+2
|
* fix script testsMaximilian Hils2014-08-181-17/+24
|
* adjust to netlib changesMaximilian Hils2014-08-171-1/+1
|
* adjust testsMaximilian Hils2014-08-102-3/+3
|
* fix display of urls in upstream mode, refs #308Maximilian Hils2014-08-082-0/+8
|
* fix #318Maximilian Hils2014-08-081-13/+17
|
* remove platform.setupMaximilian Hils2014-08-081-2/+1
|
* suppress SPDY/HTTP2 announcement headers, fix #277Maximilian Hils2014-08-031-6/+0
|
* fix #307Maximilian Hils2014-08-031-3/+11
|
* Merge branch 'stream'Maximilian Hils2014-07-312-2/+61
|\ | | | | | | | | Conflicts: libmproxy/protocol/http.py
| * fix testsMaximilian Hils2014-07-311-4/+3
| |
| * unify stream handlingMaximilian Hils2014-07-211-5/+4
| |