Commits

Author Commit Message Labels Comments Date
Jeffrey Gelens
Splitted the Python fixes and exceptions in separate modules
Branches
develop
Jeffrey Gelens
Updated python shebang
Branches
develop
Jeffrey Gelens
Merged from stable
Branches
develop
Jeffrey Gelens
Merged changes from stable
Branches
develop
Denis Bilenko
fix close(): previously it might have caused receive() to hang - also make send_frame() raise WebSocketError if the connection was already closed
Denis Bilenko
use BufferedReader on python 2.7; support closing websocket while reading from it; - BufferedReader is used because unlike fileobject it reads data from socket in big chunks (_fileobject avoids leaving leftovers and will do recv(5) if 5 bytes are requested) - it is now possible to close the greenlet concurrently while another greenlet was reading from it; the reading greenlet will finish reading without excexceptions.
Denis Bilenko
always sets WSGIHandler's close_connection to True in case of WebSocket
Denis Bilenko
Fix send_frame() to accept message of type other than string
Denis Bilenko
better clean up in close()
Denis Bilenko
run_autobahn_tests.py: allow passing test case at command line
Denis Bilenko
add run_autobahn_tests.py
Denis Bilenko
add examples/echoserver.py
Denis Bilenko
a number of fixes that make gevent-websocket pass most of autobahn testsuite; slight API changes Changed the arguments of send() method: it no longer accepts opcode, but it accepts binary=bool optional argument There's a new method now: send_frame() which does accept opcode; remove Closed() object: when connection is closed by peer, receive() returns None. The contents of the peer's close frame is available as close_code and close_message properties When a protocol error is detected, the c…
Denis Bilenko
add WebSocketError to __init__.py
Denis Bilenko
let's follow pep8?
Denis Bilenko
add common base class for websockets: WebSocket; if 'str' object is passed, assume it's utf-8, do not re-encode it
Jeffrey Gelens
Added develop branch
Branches
develop
Jeffrey Gelens
Typo
Jeffrey Gelens
Fixed #5 Encoding issue when sending non-ascii message. Thanks gdamjan and Juanlu001.
Denis Bilenko
multiple fixes and cleanups - chrome 16 now works - HTTP proxies, like HaProxy, now work with hixie protocol - sending messages is now safe from multiple greenlets (added write lock) - in hixie, WebSocket-Location/Sec-WebSocket-Location is set properly, including the right scheme query string; fixes Safari - geventwebsocket/__init__.py now contains WebSocketHandler; websockets are not imported there, since they are not …
Denis Bilenko
raise TypeError instead of Exception in _encode_text()
Denis Bilenko
raise TypeError instead of Exception in send()
Jeffrey Gelens
Renamed recv to receive in old websocket class
Jeffrey Gelens
Sending and receiving are both working now
Jeffrey Gelens
Added some consistency checks to receiving
Jeffrey Gelens
First Version 8 test is working in FF and Chrome
Jeffrey Gelens
Merged
Jeffrey Gelens
.
Jeffrey Gelens
Updated receiving messages from Hybi10
Lon Ingram
Return tuple for all opcodes when not in compatibility mode - Comment public methods of WebSocketVersion7
  1. Prev
  2. Next