aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* certutils: cap the cert store size at 100 by defaultAldo Cortesi2016-10-051-0/+25
| | | | | | | | This should be enough to give us reuse without growing infinitely. This is part of fixing the memory situation in mitmdump. TODO: There's an opportunity here for a better algorithm, that expires certs based on least-recently-accessed time, rather than oldest generated time.
* use flt instead of filt for flowfilter expressionsThomas Kriechbaumer2016-10-041-2/+2
|
* debug: Hard exit after debug signalAldo Cortesi2016-10-041-2/+2
|
* Consolidate loggingAldo Cortesi2016-10-045-16/+31
| | | | | | - Make log event handler work - Move terminal event log into an addon - Clean various log related errors and duplications
* Clarify channel interaction patternAldo Cortesi2016-10-041-3/+2
| | | | | | | Before this patch, it wasn't clear when the arguments to an event could be modified, and when a new object should be returned. After this patch, the right thing to do is to modify the arguments in 99% of cases. The only exception to this is root_layer, for which we can find a better structure down the track.
* Add requestheaders eventAldo Cortesi2016-10-041-1/+1
| | | | HTTP1 only for now, HTTP2 coming next.
* fix flowfilter.match argsThomas Kriechbaumer2016-10-031-10/+10
|
* use flowfilter.matchThomas Kriechbaumer2016-10-031-10/+10
|
* rename mitmproxy.filt -> mitmproxy.flowfilterThomas Kriechbaumer2016-10-032-30/+30
|
* Revert "Add API to programmatically create new requests (#1534)"Maximilian Hils2016-10-021-9/+0
| | | | | This reverts commit ccbdcd684b5a49c0509610a79dad3f220962a42d, which yielded a test timeout.
* Add API to programmatically create new requests (#1534)Tyler St. Onge2016-10-011-0/+9
|
* parse_set_cookie header returns an empty list if no cookies are foundAldo Cortesi2016-09-281-3/+3
| | | | This matches parse_cookie, and is more idiomatic.
* Merge branch 'multi-cookie' of https://github.com/dufferzafar/mitmproxyAldo Cortesi2016-09-282-93/+125
|\
| * Add tests for comma separated Set-CookiesShadab Zafar2016-09-271-10/+47
| |
| * Can't have , in the sticky cookie testShadab Zafar2016-09-271-1/+0
| | | | | | | | Since we support comma separated cookies now
| * Make needed changes in testsShadab Zafar2016-09-271-30/+33
| |
| * Update cookie testsShadab Zafar2016-09-271-91/+84
| | | | | | | | | | This is needed since _read_pairs now returns a list of cookies each of which is a list of [name, value] tuples.
* | In reverse proxy mode, always send SNIRyan Laughlin2016-09-271-1/+7
|/
* update dependencies, minor fixes (#1577)Maximilian Hils2016-09-241-3/+1
|
* remove option argument for addons.add (#1576)Maximilian Hils2016-09-2414-25/+24
|
* Merge pull request #1566 from mhils/issue-1546Maximilian Hils2016-09-221-1/+2
|\ | | | | add websocket on/off switch, improve logging (fix #1546, fix #1547)
| * fix testsMaximilian Hils2016-09-221-1/+2
| |
* | scripts: cut traceback properly, fix #1467Maximilian Hils2016-09-221-3/+27
|/
* Merge pull request #1564 from mhils/issue-1554Maximilian Hils2016-09-211-0/+5
|\ | | | | Fix Response.make content-length header
| * fix Response.make content-length headerMaximilian Hils2016-09-211-0/+5
| |
* | raise TypeError on invalid header assignment, fix #1562Maximilian Hils2016-09-212-0/+11
|/
* Redesign client replayAldo Cortesi2016-09-115-60/+54
| | | | | - Move to an addon - Use a much simpler synchronisation mechanism
* Add "run_once" support to the script addon, use it in mitmproxyAldo Cortesi2016-09-111-0/+25
| | | | Fixes #1418
* options.replay_ignore* -> options.server_replay_ignore*Aldo Cortesi2016-09-101-9/+9
|
* options.nopop -> options.server_replay_nopopAldo Cortesi2016-09-101-2/+2
|
* options.rheaders -> options.server_replay_use_headersAldo Cortesi2016-09-101-1/+1
|
* options.kill -> options.replay_kill_extraAldo Cortesi2016-09-103-6/+6
|
* Roll out synchronisation for mitmproxy testsAldo Cortesi2016-09-105-179/+228
| | | | | | | | | This extends some of the work I did for pathod and netlib to the mitmproxy test suite. It also fixes what may be a leak in replays. Failing on connection leak is disabled on Windows for the moment. Fixes #1535
* Merge pull request #1532 from cortesi/playbackAldo Cortesi2016-09-074-301/+292
|\ | | | | Playback and fix construct breakage
| * Move server playback in to an addonAldo Cortesi2016-09-064-301/+292
| | | | | | | | | | | | | | | | | | | | | | - Move server playback into an addon - Implement a better sync strategy to decide when to exit if keepserving is off. We now wait for the final flow played back to no longer be live. - Leave interactive server playback in mitmproxy console broken for now - there are broader addon-related changes that need to be made for that, and this patch is already big. Fixes #1229
* | Make 'none' synonymous to 'identity'Schamper2016-09-061-8/+7
| |
* | Add testSchamper2016-09-061-0/+5
|/
* change test valueThomas Kriechbaumer2016-09-041-1/+1
|
* improve netlib.encodingThomas Kriechbaumer2016-09-041-31/+18
|
* http2: assemble connect-request from objectThomas Kriechbaumer2016-09-031-7/+12
|
* http2: fixesThomas Kriechbaumer2016-09-031-0/+5
|
* http2: improve framereaderThomas Kriechbaumer2016-09-032-17/+17
|
* cleanupThomas Kriechbaumer2016-09-031-0/+1
|
* cleanup testsThomas Kriechbaumer2016-09-014-3/+7
|
* add websockets support to mitmproxyThomas Kriechbaumer2016-09-011-0/+297
|
* websockets: refactor implementation and add testsThomas Kriechbaumer2016-09-014-269/+292
|
* Lint fix - minorarjun234962016-08-311-1/+1
|
* Lint fix - replace testsarjun234962016-08-313-6/+9
|
* Added tests for replace in request,message,headerarjun234962016-08-313-1/+23
|
* fixing lint errorManish Kumar2016-08-261-0/+1
|