aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* verify upstream certificates by default (#1111)Sachin Kelkar2016-07-274-23/+31
| | | | squashed and merged by @mhils
* add quote/unquote testsMaximilian Hils2016-07-241-2/+42
|
* remove content caching in netlib.http.MessageMaximilian Hils2016-07-231-33/+0
|
* add tests for single-element cacheMaximilian Hils2016-07-231-0/+30
|
* Merge pull request #1380 from dufferzafar/marked-filterMaximilian Hils2016-07-231-0/+2
|\ | | | | Marked property and filter
| * Test marked property while serialization roundtripShadab Zafar2016-07-231-0/+2
| |
* | Merge pull request #1402 from mhils/console-fixesMaximilian Hils2016-07-231-2/+2
|\ \ | | | | | | minor fixes
| * | fix test_view_urlencodedMaximilian Hils2016-07-231-2/+2
| | |
* | | http2: cleanup testsThomas Kriechbaumer2016-07-231-37/+38
| |/ |/|
* | Addon iface: .configure(options) -> .configure(options, updated)Aldo Cortesi2016-07-2316-79/+90
| |
* | script: convert test recorder to an addon classAldo Cortesi2016-07-232-19/+19
| |
* | scripts: .start can now return an Addon instanceAldo Cortesi2016-07-232-0/+35
| |
* | script: add a namespace adaptor to match AddonsAldo Cortesi2016-07-231-4/+4
| |
* | fix mitmproxy 0.11 dumpfile - was 0.18 beforeMaximilian Hils2016-07-221-0/+0
|/
* fix content view cache invalidationMaximilian Hils2016-07-212-5/+13
|
* console: share one ActionBar instanceAldo Cortesi2016-07-211-1/+1
| | | | | This fixes an issues where popping a view off the stack caused stale ActionBar contents to be displayed.
* Merge branch 'flow-export' of https://github.com/dufferzafar/mitmproxy into ↵Aldo Cortesi2016-07-211-36/+6
|\ | | | | | | dufferzafar-flow-export
| * Add a url exporterShadab Zafar2016-07-201-0/+6
| |
| * Remove raw_request exporterShadab Zafar2016-07-201-36/+0
| | | | | | | | This functionality will be handled by headers+content
* | Fix netlib.utils.is_valid_hostAldo Cortesi2016-07-212-0/+16
|/ | | | | | | | - Don't crash when passed an empty string. This translated into an actual core crash, discovered while fuzzing with afl. - Taking a slice of length one out of bytes returns an integer, so the check for trailing period in this function never worked on Python3. - Add unit tests.
* mitproxy.options -> mitmproxy.optmanager, mitmproxy.flow.options -> ↵Aldo Cortesi2016-07-2013-26/+22
| | | | | | | | | mitmproxy.options It might be slightly more felicitous to move optmanager into netlib at some point, especially if we can also use it in pathod. This also consolidates our constants in mitmproxy.options, removing some duplicates.
* Test suite: get_proxy_config -> get_optionsAldo Cortesi2016-07-193-41/+57
|
* Remove proxy.config.process_proxy_optionsAldo Cortesi2016-07-191-2/+2
|
* ProxyConf: adapt mitmproxy console, ditch tcp|host filter attrs on flow.masterAldo Cortesi2016-07-191-9/+0
|
* ProxyConf: auth_* into OptionsAldo Cortesi2016-07-194-14/+8
|
* ProxyConfig: http2, rawtcp, no_upstream_cert -> OptionsAldo Cortesi2016-07-192-5/+2
|
* ProxyConfig: Refactor to move verification mode checks into configureAldo Cortesi2016-07-191-14/+22
|
* Regularize naming of upstream_trusted_ca* optionsAldo Cortesi2016-07-192-9/+9
|
* ProxyConfig: various SSL options to OptionsAldo Cortesi2016-07-191-2/+5
|
* config.parse_server_spec shouldn't pass byts to tcp.AddressAldo Cortesi2016-07-192-4/+4
|
* ProxyConfig: mode, upstream_server and upstream_auth to OptionsAldo Cortesi2016-07-196-59/+84
|
* ProxyConfig: --body-size-limit to OptionsAldo Cortesi2016-07-191-1/+1
|
* Move clientcers & cadir to OptionsAldo Cortesi2016-07-191-1/+3
| | | | | Also adds a .configure mechanism to ProxyConfig, and hooks it up to the change event.
* ProxyConfig: cadir to optionsAldo Cortesi2016-07-192-4/+2
|
* ProxyConfig refactorAldo Cortesi2016-07-194-29/+30
| | | | | Step two of frog boiling: move listening address and port into options. This is the hard bit, because it touches the test suite so deeply.
* Unify proxy config and optionsAldo Cortesi2016-07-194-12/+21
| | | | | This is step 1 in a gradual "boiling frog" strategy. Decorate ProxyConfig with an Options object.
* Console options cleanupAldo Cortesi2016-07-181-2/+6
| | | | Use setters, use togglers, move more things out of master
* Add a toggller helper to Options, start using it in mitmproxy consoleAldo Cortesi2016-07-181-0/+11
|
* cleanupThomas Kriechbaumer2016-07-171-12/+12
|
* http2: coverage++Thomas Kriechbaumer2016-07-171-1/+152
|
* setheaders -> addonAldo Cortesi2016-07-172-52/+64
|
* Merge pull request #1370 from cortesi/filestreamerAldo Cortesi2016-07-171-2/+2
|\ | | | | Some work on stream-to-file
| * Some work on stream-to-fileAldo Cortesi2016-07-171-2/+2
| | | | | | | | | | - stream -> filestreamer throughout - move active_flows set into FileStreamer addon
* | Merge pull request #1367 from Kriechi/fix-1366Aldo Cortesi2016-07-171-4/+22
|\ \ | | | | | | fix-1366
| * | fix-1366Thomas Kriechbaumer2016-07-161-4/+22
| |/
* | Merge branch 'master' into dumperAldo Cortesi2016-07-173-6/+229
|\|
| * Merge remote-tracking branch 'duffer/tcpflow-filter'Maximilian Hils2016-07-163-6/+229
| |\
| | * Allow DummyFlow to match ~e, ~src and ~dstShadab Zafar2016-07-162-15/+37
| | |
| | * Add DummyFlow and its TestsShadab Zafar2016-07-161-1/+59
| | |
| | * Add tests for TCPFlow.matchShadab Zafar2016-07-161-1/+15
| | |