Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 100% test coverage. | Aldo Cortesi | 2013-03-03 | 1 | -1/+1 |
| | |||||
* | Make sni_handler an argument to BaseHandler.convert_to_ssl | Aldo Cortesi | 2013-02-25 | 1 | -20/+15 |
| | |||||
* | Housekeeping and cleanup, some minor argument name changes. | Aldo Cortesi | 2013-02-24 | 1 | -5/+5 |
| | |||||
* | More accurate description of an HTTP read error, make pyflakes happy. | Aldo Cortesi | 2013-02-24 | 1 | -2/+2 |
| | |||||
* | 100% test coverage | Aldo Cortesi | 2013-01-27 | 1 | -14/+7 |
| | |||||
* | Bump unit tests, fix two serious wee buglets discovered. | Aldo Cortesi | 2013-01-26 | 1 | -2/+2 |
| | |||||
* | Introduce the mock module to improve unit tests. | Aldo Cortesi | 2013-01-26 | 1 | -0/+6 |
| | | | | | 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. | ||||
* | Extract TCP test utilities into netlib.test | Aldo Cortesi | 2013-01-25 | 1 | -5/+6 |
| | |||||
* | Improve error signalling for client certificates. | Aldo Cortesi | 2013-01-20 | 1 | -3/+6 |
| | |||||
* | Beef up client certificate handling substantially. | Aldo Cortesi | 2013-01-20 | 1 | -1/+9 |
| | |||||
* | Fix client cert typo. | Aldo Cortesi | 2013-01-18 | 1 | -1/+1 |
| | |||||
* | renaming the timestamp in preparation of other timestamps that will be added ↵ | Rouli | 2013-01-16 | 1 | -4/+4 |
| | | | | later, adding tests | ||||
* | adding read timestamp to enable better resolution of when certain reads were ↵ | Israel Nir | 2013-01-10 | 1 | -0/+4 |
| | | | | performed (timestamp is updated when the first byte is available on the network) | ||||
* | More info on disconnect exception. | Aldo Cortesi | 2012-10-14 | 1 | -2/+2 |
| | |||||
* | Limit reads to block length. | Aldo Cortesi | 2012-10-09 | 1 | -2/+6 |
| | |||||
* | Add a settimeout method to tcp.BaseHandler. | Aldo Cortesi | 2012-10-01 | 1 | -0/+3 |
| | |||||
* | Split FileLike into Writer and Reader, and add logging functionality. | Aldo Cortesi | 2012-09-24 | 1 | -16/+53 |
| | |||||
* | Don't create fresh FileLike objects when converting to SSL | Aldo Cortesi | 2012-09-24 | 1 | -4/+7 |
| | |||||
* | Handle disconnects on flush. | Aldo Cortesi | 2012-07-30 | 1 | -2/+5 |
| | |||||
* | Handle HTTP responses that have a body but no content-length or transfer ↵ | Aldo Cortesi | 2012-07-24 | 1 | -3/+8 |
| | | | | | | | | | encoding We check if the server sent a connection:close header, and read till the socket closes. Closes #2 | ||||
* | Catch an amazingly subtle SSL connection corruption bug. | Aldo Cortesi | 2012-07-23 | 1 | -3/+3 |
| | | | | | | Closing a set of pseudo-file descriptors in the wrong order caused junk data to be written to the SSL stream. An apparent bug in OpenSSL then lets this corrupt the _next_ SSL connection. | ||||
* | Handle unexpected SSL connection termination in readline. | Aldo Cortesi | 2012-07-21 | 1 | -3/+8 |
| | |||||
* | Handle socket disconnects on reads. | Aldo Cortesi | 2012-07-21 | 1 | -0/+2 |
| | |||||
* | Timeout for TCP clients. | Aldo Cortesi | 2012-07-21 | 1 | -8/+28 |
| | |||||
* | Set ssl_established right after the connection object is changed. | Aldo Cortesi | 2012-07-20 | 1 | -2/+2 |
| | |||||
* | close() methods for clients and servers. | Aldo Cortesi | 2012-07-20 | 1 | -3/+31 |
| | |||||
* | Don't write empty values. | Aldo Cortesi | 2012-07-10 | 1 | -4/+5 |
| | |||||
* | Somewhat nicer handling of errors after thread termination. | Aldo Cortesi | 2012-07-10 | 1 | -13/+10 |
| | |||||
* | Add an exception to indicate remote disconnects. | Aldo Cortesi | 2012-07-08 | 1 | -6/+15 |
| | |||||
* | Refactor TCP test suite. | Aldo Cortesi | 2012-07-05 | 1 | -1/+1 |
| | |||||
* | Expose SSL options, use TLSv1 by default for client connections. | Aldo Cortesi | 2012-07-04 | 1 | -4/+42 |
| | |||||
* | Allow control of buffer size for TCPClient, improve error messages. | Aldo Cortesi | 2012-06-30 | 1 | -1/+4 |
| | |||||
* | Return a certutils.SSLCert object from get_remote_cert. | Aldo Cortesi | 2012-06-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:cortesi/netlib | Aldo Cortesi | 2012-06-28 | 1 | -1/+2 |
|\ | |||||
| * | Add a get_remote_cert method to tcp client. | Aldo Cortesi | 2012-06-28 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'master' of ssh.github.com:cortesi/netlib | Aldo Cortesi | 2012-06-27 | 1 | -1/+2 |
| |\ | |||||
| * | | Minor refactoring. | Aldo Cortesi | 2012-06-27 | 1 | -1/+1 |
| | | | |||||
* | | | Handle obscure termination scenario, where interpreter exits before thread ↵ | Aldo Cortesi | 2012-06-28 | 1 | -10/+14 |
| |/ |/| | | | | | termination. | ||||
* | | Fix termiantion error in file read. | Aldo Cortesi | 2012-06-27 | 1 | -1/+2 |
|/ | |||||
* | Add a flag to track SSL connection establishment. | Aldo Cortesi | 2012-06-26 | 1 | -0/+4 |
| | |||||
* | Hunt down a tricky WSGI socket hang. | Aldo Cortesi | 2012-06-26 | 1 | -3/+9 |
| | |||||
* | Add SNI. | Aldo Cortesi | 2012-06-26 | 1 | -1/+22 |
| | |||||
* | Perform handshake immediately on SSL conversion. | Aldo Cortesi | 2012-06-25 | 1 | -0/+2 |
| | | | | | Otherwise the handshake happens at first write, which can balls up if either side hangs immediately. | ||||
* | Improve TCPClient interface. | Aldo Cortesi | 2012-06-25 | 1 | -15/+16 |
| | | | | | - Don't pass SSL parameters on instantiation. - Add a convert_to_ssl method analogous to that in TCPServer. | ||||
* | Add a finished flag to BaseHandler, and catch an extra OpenSSL exception. | Aldo Cortesi | 2012-06-25 | 1 | -1/+3 |
| | |||||
* | Don't connect during __init__ methods for either client or server. | Aldo Cortesi | 2012-06-25 | 1 | -5/+5 |
| | | | | This means we now need to do these things explicitly at the caller. | ||||
* | SSL tests, plus some self-signed test certificates. | Aldo Cortesi | 2012-06-25 | 1 | -2/+2 |
| | |||||
* | Drop default poll interval to 0.1s. | Aldo Cortesi | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | Close socket on shutdown. | Aldo Cortesi | 2012-06-20 | 1 | -0/+1 |
| | |||||
* | Initial checkin. | Aldo Cortesi | 2012-06-19 | 1 | -0/+182 |