aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/tcp.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't create fresh FileLike objects when converting to SSLAldo Cortesi2012-09-241-4/+7
|
* Handle disconnects on flush.Aldo Cortesi2012-07-301-2/+5
|
* Handle HTTP responses that have a body but no content-length or transfer ↵Aldo Cortesi2012-07-241-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 Cortesi2012-07-231-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 Cortesi2012-07-211-3/+8
|
* Handle socket disconnects on reads.Aldo Cortesi2012-07-211-0/+2
|
* Timeout for TCP clients.Aldo Cortesi2012-07-211-8/+28
|
* Set ssl_established right after the connection object is changed.Aldo Cortesi2012-07-201-2/+2
|
* close() methods for clients and servers.Aldo Cortesi2012-07-201-3/+31
|
* Don't write empty values.Aldo Cortesi2012-07-101-4/+5
|
* Somewhat nicer handling of errors after thread termination.Aldo Cortesi2012-07-101-13/+10
|
* Add an exception to indicate remote disconnects.Aldo Cortesi2012-07-081-6/+15
|
* Refactor TCP test suite.Aldo Cortesi2012-07-051-1/+1
|
* Expose SSL options, use TLSv1 by default for client connections.Aldo Cortesi2012-07-041-4/+42
|
* Allow control of buffer size for TCPClient, improve error messages.Aldo Cortesi2012-06-301-1/+4
|
* Return a certutils.SSLCert object from get_remote_cert.Aldo Cortesi2012-06-281-1/+1
|
* Merge branch 'master' of github.com:cortesi/netlibAldo Cortesi2012-06-281-1/+2
|\
| * Add a get_remote_cert method to tcp client.Aldo Cortesi2012-06-281-0/+1
| |
| * Merge branch 'master' of ssh.github.com:cortesi/netlibAldo Cortesi2012-06-271-1/+2
| |\
| * | Minor refactoring.Aldo Cortesi2012-06-271-1/+1
| | |
* | | Handle obscure termination scenario, where interpreter exits before thread ↵Aldo Cortesi2012-06-281-10/+14
| |/ |/| | | | | termination.
* | Fix termiantion error in file read.Aldo Cortesi2012-06-271-1/+2
|/
* Add a flag to track SSL connection establishment.Aldo Cortesi2012-06-261-0/+4
|
* Hunt down a tricky WSGI socket hang.Aldo Cortesi2012-06-261-3/+9
|
* Add SNI.Aldo Cortesi2012-06-261-1/+22
|
* Perform handshake immediately on SSL conversion.Aldo Cortesi2012-06-251-0/+2
| | | | | Otherwise the handshake happens at first write, which can balls up if either side hangs immediately.
* Improve TCPClient interface.Aldo Cortesi2012-06-251-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 Cortesi2012-06-251-1/+3
|
* Don't connect during __init__ methods for either client or server.Aldo Cortesi2012-06-251-5/+5
| | | | This means we now need to do these things explicitly at the caller.
* SSL tests, plus some self-signed test certificates.Aldo Cortesi2012-06-251-2/+2
|
* Drop default poll interval to 0.1s.Aldo Cortesi2012-06-201-1/+1
|
* Close socket on shutdown.Aldo Cortesi2012-06-201-0/+1
|
* Initial checkin.Aldo Cortesi2012-06-191-0/+182