aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_server.py
Commit message (Collapse)AuthorAgeFilesLines
* Adapt for new request_client_cert option in netlib.Aldo Cortesi2013-05-131-1/+2
|
* Merge pull request #107 from rouli/masterAldo Cortesi2013-04-191-0/+28
|\ | | | | Adding remote TCP and SSL setup timestamps
| * adding tcp and ssl setup timestamps to get better resolution on flows ↵Rouli2013-03-191-0/+28
| | | | | | | | performance
* | Add a basic built-in web app.Aldo Cortesi2013-03-251-1/+11
|/
* Fuzzing, and fixes for errors found with fuzzing.Aldo Cortesi2013-03-031-1/+1
|
* 100% unit test coverage on proxy.py. Hallelujah!Aldo Cortesi2013-03-031-1/+17
|
* Unit test proxy auth.Aldo Cortesi2013-03-031-7/+18
|
* Move HTTP auth module to netlib.Aldo Cortesi2013-03-031-1/+1
|
* Extend unit tests for proxy.py to some tricky cases.Aldo Cortesi2013-03-021-9/+50
|
* Test cert generation errors.Aldo Cortesi2013-03-021-3/+10
|
* Test SNI for transparent mode.Aldo Cortesi2013-03-021-0/+6
|
* Test SNI for ordinary proxy connections.Aldo Cortesi2013-03-021-1/+5
|
* New SNI handling mechanism.Aldo Cortesi2013-03-011-31/+31
|
* Test cert file specification, spruce up server testing truss a bit.Aldo Cortesi2013-02-241-0/+7
|
* Significantly simplify server connection handling, and test.Aldo Cortesi2013-02-241-6/+22
|
* Handle server disconnects better.Aldo Cortesi2013-02-241-1/+13
| | | | | | | | Server connections can be closed for legitimate reasons, like timeouts. If we've already pumped data over a server connection, we reconnect on error. If not, we treat it as a legitimate error and pass it on to the client. Fixes #85
* Test a difficult-to-trigger IOError, fix cert generation in test suite.Aldo Cortesi2013-02-241-0/+9
|
* Test client connection close conditions.Aldo Cortesi2013-02-241-0/+16
|
* Test request and response kill functionality.Aldo Cortesi2013-02-231-1/+31
|
* Unit test dummy response functions.Aldo Cortesi2013-02-231-0/+16
|
* Test WSGI app calling.Aldo Cortesi2013-02-161-6/+18
| | | | | - Factor out test servers into a separate file - Adjust docs to note new Flask dependency
* Beef up unit tests for HAR utility functions - flow.py coverage now 100%.Aldo Cortesi2013-01-291-6/+4
|
* Add tests for client certificate support.Aldo Cortesi2013-01-201-2/+3
|
* Rudimentary testing for client certs.Aldo Cortesi2013-01-181-0/+3
|
* Speed up the test suite by reducing time sleeping in tests.Aldo Cortesi2013-01-181-3/+2
|
* Merge branch 'master' of ssh.github.com:cortesi/mitmproxyAldo Cortesi2013-01-181-0/+51
|\ | | | | | | | | Conflicts: test/test_server.py
| * fixes due to merge with masterRouli2013-01-171-1/+2
| |
| * changing requests and responses to have two timestamps, one marking their ↵Rouli2013-01-171-0/+41
| | | | | | | | initiation, and the other their complete
* | Unit tests and minor code refactoring for ServerConnection.Aldo Cortesi2013-01-051-9/+15
|/
* removed assigned but unread variablesAndrás Veres-Szentkirályi2012-07-151-1/+1
|
* removed unused importsAndrás Veres-Szentkirályi2012-07-151-4/+1
|
* Refine semantics of replay_request method.Aldo Cortesi2012-07-101-6/+3
|
* Test replay corner cases. Fix discovered bugs.Aldo Cortesi2012-07-091-0/+12
|
* Unit test request replay thread.Aldo Cortesi2012-07-091-0/+10
| | | | | | This is a small patch, but is the culmination of lots of work: we can now unit test the deep innards of mitmproxy, with coverage. There's a lot more to come in this vein.
* Refator server tests to use flow.FlowMaster and flow.StateAldo Cortesi2012-07-091-5/+5
|
* Beef up logging substantially.Aldo Cortesi2012-07-011-3/+3
|
* Handle invalid data more gracefully.Aldo Cortesi2012-06-301-1/+14
| | | | Fixes #47
* Basic transparent mode.Aldo Cortesi2012-06-151-1/+1
|
* Refactor test suite to make room for transparent mode tests.Aldo Cortesi2012-06-151-6/+10
|
* First draft conversion of server to PyOpenSSL.Aldo Cortesi2012-06-131-0/+3
|
* Refactoring of proxy.pyAldo Cortesi2012-06-101-4/+12
| | | | | - Correctly pass HTTP request version on to upstream servers - Adjust tests not to hang due to a pathod response with no content-length
* Reverse proxy testing.Aldo Cortesi2012-06-091-0/+5
|
* Move pathod service testing truss to nose.Aldo Cortesi2012-06-091-18/+14
|
* Start conversion to nose.Aldo Cortesi2012-06-091-1/+0
| | | | RIP pry.
* Shift mitmproxy test suite over to pathod.Aldo Cortesi2012-06-081-54/+9
| | | | This opens a whole brave new world of testing for mitmproxy.
* Unit test import cleanups.Aldo Cortesi2012-02-201-1/+0
|
* Fix an issue caused by some editors when editing a request/response body.Aldo Cortesi2012-01-211-1/+1
| | | | | | Many editors make it hard save a file without a terminating newline on the last line. When editing message bodies, this can cause problems. For now, I just strip the newlines off the end of the body when we return from an editor.
* Rewrite Headers object to preserve order and case.Aldo Cortesi2011-07-141-2/+2
|
* Fix unit tests on OSX when a system proxy is configured.Aldo Cortesi2011-03-141-4/+7
|
* Add client replay options to mitmdump.Aldo Cortesi2011-03-061-0/+75