| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
This restores tests removed in 23beb7d43e
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes:
* patching more tests to pass
* removing few unit tests which I think are redundant
* repeating SSL socket reads in a loop to read all data (I suspect this is
related to the fact that writelines is used in the server code there and
Python 3 writelines calls write/send repeatedly while on Python 2 it
calls it once; on one hand there's no guarantee that single recv/read
will return all data sent by the server, on the other hand it's quite
suspicious that the number of required reads seems to be connected to
the number of sends on the other side of the connection)
* working through Python 2/Python 3 threading and thread differences; the
lock code I used is the simplest way I could make the tests pass but
will likely need to be modified in order to match the original
This commit includes 6bcb1dc and closes GH #153
|
| | |
|
| | |
|
| |
|
|
| |
https://github.com/eventlet/eventlet/issues/101
|
| |
|
|
| |
https://github.com/eventlet/eventlet/pull/59
|
| |
|
|
|
|
|
| |
First step to Python 3 compatibility
"2to3 -w -f except ." See [1]
[1] http://docs.python.org/2/library/2to3.html#fixers
|
| |
|
|
|
| |
This is particularly useful to not require the external OpenSSL module
in order to run the tests on python2.5.
|
| |
|
|
| |
tests for it, too.
|
| |
|
|
| |
No detail is too small for The Hixie. Fixes #64
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quote:
The handshake from the server looks as follows:
HTTP/1.1 101 WebSocket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Origin: http://example.com
Sec-WebSocket-Location: ws://example.com/demo
Sec-WebSocket-Protocol: sample
End quote
However eventlet's websocket was returning the first line as HTTP/1.1 101 Web Socket Protocol Handshake.
Removed the space between 'Web' and 'Socket' to match the spec document.
|
| | |
|
| |
|
|
| |
WSGI generally. Fixes #62.
|
| |
|
|
| |
caught. We love you, coverage.
|
| | |
|
| |
|
|
| |
bring it back up to 100%. Refactored the example to reference eventlet.websocket.
|
| |
|
|
| |
some versions of Python don't like it. Removed the file objects entirely to sidestep the issue.
|
| |
|
|
| |
Mock's still in there, I guess I don't mind that.
|
|
|
conventions.
|