aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version.Aldo Cortesi2012-07-292-1/+2
|
* Ignore SAN entries that we don't understand.Aldo Cortesi2012-07-243-1/+41
|
* Handle HTTP responses that have a body but no content-length or transfer ↵Aldo Cortesi2012-07-244-18/+59
| | | | | | | | | 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.
* Fix http_protocol parsing crash discovered with pathoc fuzzing.Aldo Cortesi2012-07-221-2/+2
|
* Handle unexpected SSL connection termination in readline.Aldo Cortesi2012-07-211-3/+8
|
* Handle socket disconnects on reads.Aldo Cortesi2012-07-211-0/+2
|
* Handle HTTP versions malformed due to non-integer major/minor numbers.Aldo Cortesi2012-07-212-2/+7
|
* Timeout for TCP clients.Aldo Cortesi2012-07-212-9/+60
|
* Set ssl_established right after the connection object is changed.Aldo Cortesi2012-07-201-2/+2
|
* Fix cert path.Aldo Cortesi2012-07-201-1/+1
|
* Merge branch 'master' of ssh.github.com:cortesi/netlibAldo Cortesi2012-07-201-1/+2
|\
| * Merge pull request #1 from mhils/masterAldo Cortesi2012-07-111-1/+2
| |\ | | | | | | Fix cert generation if confdir is relative
| | * fix relative certdirMaximilian Hils2012-07-111-1/+2
| |/
* / close() methods for clients and servers.Aldo Cortesi2012-07-202-4/+64
|/
* Signal errors back to caller in WSGI .serve()Aldo Cortesi2012-07-111-0/+1
|
* 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-052-22/+10
|
* Expose SSL options, use TLSv1 by default for client connections.Aldo Cortesi2012-07-042-5/+66
|
* Allow control of buffer size for TCPClient, improve error messages.Aldo Cortesi2012-06-302-4/+7
|
* Add utility function for converstion to PEM.Aldo Cortesi2012-06-283-1/+5
|
* 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-288-2/+491
|\
| * Add a get_remote_cert method to tcp client.Aldo Cortesi2012-06-283-5/+11
| |
| * Refactor certutils.SSLCert API.Aldo Cortesi2012-06-272-15/+20
| |
| * Add certutils to netlib.Aldo Cortesi2012-06-275-0/+475
| |
| * Merge branch 'master' of ssh.github.com:cortesi/netlibAldo Cortesi2012-06-271-1/+2
| |\
| * | Minor refactoring.Aldo Cortesi2012-06-272-1/+4
| | |
* | | 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-262-4/+11
|
* Add SNI.Aldo Cortesi2012-06-262-2/+52
|
* Perform handshake immediately on SSL conversion.Aldo Cortesi2012-06-252-10/+34
| | | | | Otherwise the handshake happens at first write, which can balls up if either side hangs immediately.
* Improve TCPClient interface.Aldo Cortesi2012-06-252-18/+20
| | | | | - 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-252-9/+14
| | | | This means we now need to do these things explicitly at the caller.
* SSL tests, plus some self-signed test certificates.Aldo Cortesi2012-06-254-11/+54
|
* Repair test suite.Aldo Cortesi2012-06-241-2/+3
|
* Don't read all from server by default.Aldo Cortesi2012-06-241-1/+1
| | | | | This can cause us to hang waiting for data. More research is needed to establish the right course of action here.
* WSGI SERVER_PORT should be a string.Aldo Cortesi2012-06-241-1/+1
|
* Add and unit test http.read_responseAldo Cortesi2012-06-242-4/+78
|
* Make read_headers return an ODictCaseless object.Aldo Cortesi2012-06-242-5/+6
|
* Add http_status.pyAldo Cortesi2012-06-231-0/+103
|
* 100% testcoverage for netlib.httpAldo Cortesi2012-06-232-46/+118
|
* protocol.py -> http.pyAldo Cortesi2012-06-232-49/+49
|
* README, setup.py, versionAldo Cortesi2012-06-233-2/+106
|
* Drop default poll interval to 0.1s.Aldo Cortesi2012-06-201-1/+1
|