aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_tcp.py
Commit message (Collapse)AuthorAgeFilesLines
* Adjust pep8 parameters, reformatAldo Cortesi2015-05-301-4/+13
|
* make tests aware of ALPN & OpenSSL 1.0.2 dependencyThomas Kriechbaumer2015-05-291-8/+13
|
* add ALPN support to TCP abstractionThomas Kriechbaumer2015-05-291-0/+18
|
* test Address __str__Thomas Kriechbaumer2015-05-291-0/+1
|
* cleanup code with autopep8Thomas Kriechbaumer2015-05-271-72/+118
| | | | run the following command: $ autopep8 -i -r -a -a .
* 100% test coverageMaximilian Hils2015-04-091-12/+11
|
* try harder to fix race condition in testsMaximilian Hils2015-02-271-0/+6
|
* make tests more robust, fix coverallsMaximilian Hils2015-02-271-0/+2
|
* 100% test coverage :tada:Maximilian Hils2015-02-271-27/+76
|
* fix testsMaximilian Hils2014-10-231-1/+1
|
* clean up codeMaximilian Hils2014-10-091-2/+2
|
* CertStore: add support for cert chainsMaximilian Hils2014-10-081-4/+4
|
* Remove avoidable imports from OpenSSLAldo Cortesi2014-09-091-1/+1
| | | | Fixes #38
* minor cleanupsMaximilian Hils2014-08-161-3/+0
|
* fix testsMaximilian Hils2014-07-181-1/+1
|
* add test case for mitmproxy/mitmproxy#295Maximilian Hils2014-07-171-1/+1
|
* fix #28Maximilian Hils2014-03-101-0/+23
|
* Certificate flagsAldo Cortesi2014-03-101-55/+72
|
* Support Ephemeral Diffie-HellmanAldo Cortesi2014-03-071-0/+20
|
* We now require PyOpenSSL >= 0.14Aldo Cortesi2014-03-021-3/+0
|
* Use PyOpenSSL's underlying ffi interface to get current cipher for connections.Aldo Cortesi2014-03-021-1/+34
|
* Cleanups, tests, and no-cover directives for code sections we can't test.Aldo Cortesi2014-03-021-0/+20
|
* Cipher suite selection for client connections, improved error handlingAldo Cortesi2014-02-271-1/+31
|
* adjust netlib.wsgi to reflect changes in mitmproxys flow formatMaximilian Hils2014-02-051-0/+1
|
* add tcp.Address to unify ipv4/ipv6 address handlingMaximilian Hils2014-01-281-18/+18
|
* refactor read_http_bodyMaximilian Hils2013-12-151-1/+0
|
* test tcpclient.source_address, increase coverageMaximilian Hils2013-12-141-1/+23
|
* merge smurfix/ipv6, add ipv6 support for TCPServer, add ipv6 testMaximilian Hils2013-12-131-0/+12
|
* Fix race condition in test suite.Aldo Cortesi2013-12-081-3/+0
|
* Zap stray print in tests.Aldo Cortesi2013-12-081-1/+0
|
* adding cipher list selection option to BaseHandlerIsrael Nir2013-08-211-0/+25
|
* Add a request_client_cert argument to server SSL conversion.Aldo Cortesi2013-05-131-0/+6
| | | | | | | | | | By default, we now do not request the client cert. We're supposed to be able to do this with no negative effects - if the client has no cert to present, we're notified and proceed as usual. Unfortunately, Android seems to have a bug (tested on 4.2.2) - when an Android client is asked to present a certificate it does not have, it hangs up, which is frankly bogus. Some time down the track we may be able to make the proper behaviour the default again, but until then we're conservative.
* Housekeeping and cleanup, some minor argument name changes.Aldo Cortesi2013-02-241-2/+2
|
* More accurate description of an HTTP read error, make pyflakes happy.Aldo Cortesi2013-02-241-1/+1
|
* 100% test coverageAldo Cortesi2013-01-271-4/+31
|
* Bump unit tests, fix two serious wee buglets discovered.Aldo Cortesi2013-01-261-1/+2
|
* Introduce the mock module to improve unit tests.Aldo Cortesi2013-01-261-1/+18
| | | | | There are a few socket corner-cases that are incredibly hard to reproduce in a unit test suite, so we use mock to trigger the exceptions instead.
* Streamline netlib.test APIAldo Cortesi2013-01-251-92/+38
|
* Extract TCP test utilities into netlib.testAldo Cortesi2013-01-251-87/+72
|
* Improve error signalling for client certificates.Aldo Cortesi2013-01-201-0/+9
|
* Beef up client certificate handling substantially.Aldo Cortesi2013-01-201-0/+22
|
* renaming the timestamp in preparation of other timestamps that will be added ↵Rouli2013-01-161-0/+24
| | | | later, adding tests
* Limit reads to block length.Aldo Cortesi2012-10-091-0/+11
|
* Add a settimeout method to tcp.BaseHandler.Aldo Cortesi2012-10-011-4/+33
|
* Split FileLike into Writer and Reader, and add logging functionality.Aldo Cortesi2012-09-241-3/+31
|
* Handle HTTP responses that have a body but no content-length or transfer ↵Aldo Cortesi2012-07-241-0/+6
| | | | | | | | | encoding We check if the server sent a connection:close header, and read till the socket closes. Closes #2
* Timeout for TCP clients.Aldo Cortesi2012-07-211-1/+32
|
* close() methods for clients and servers.Aldo Cortesi2012-07-201-1/+33
|
* Refactor TCP test suite.Aldo Cortesi2012-07-051-21/+9
|
* Expose SSL options, use TLSv1 by default for client connections.Aldo Cortesi2012-07-041-1/+24
|