Commits

Author Commit Message Labels Comments Date
Jeffrey Gelens
Version bump
Jeffrey Gelens
Updated docs
Jeffrey Gelens
PEP8
Jeffrey Gelens
Manual Merge Denis of his changeset: fix close(): previously it might have caused receive() to hang
Jeffrey Gelens
Cleaned up examples and moved the autobahn testrunner.
Jeffrey Gelens
Splitted the Python fixes and exceptions in separate modules
Jeffrey Gelens
Updated python shebang
Jeffrey Gelens
Merged from stable
Jeffrey Gelens
Merged changes from stable
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.
Branches
stable
Denis Bilenko
always sets WSGIHandler's close_connection to True in case of WebSocket
Branches
stable
Denis Bilenko
Fix send_frame() to accept message of type other than string
Branches
stable
Denis Bilenko
better clean up in close()
Branches
stable
Denis Bilenko
run_autobahn_tests.py: allow passing test case at command line
Branches
stable
Denis Bilenko
add run_autobahn_tests.py
Branches
stable
Denis Bilenko
add examples/echoserver.py
Branches
stable
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…
Branches
stable
Denis Bilenko
add WebSocketError to __init__.py
Branches
stable
Denis Bilenko
let's follow pep8?
Branches
stable
Denis Bilenko
add common base class for websockets: WebSocket; if 'str' object is passed, assume it's utf-8, do not re-encode it
Branches
stable
Jeffrey Gelens
Added develop branch
Jeffrey Gelens
Typo
Branches
stable
Jeffrey Gelens
Fixed #5 Encoding issue when sending non-ascii message. Thanks gdamjan and Juanlu001.
Branches
stable
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 …
Branches
stable
Denis Bilenko
raise TypeError instead of Exception in _encode_text()
Branches
stable
Denis Bilenko
raise TypeError instead of Exception in send()
Branches
stable
Jeffrey Gelens
Renamed recv to receive in old websocket class
Branches
stable
Jeffrey Gelens
Sending and receiving are both working now
Branches
stable
Jeffrey Gelens
Added some consistency checks to receiving
Branches
stable
Jeffrey Gelens
First Version 8 test is working in FF and Chrome
Branches
stable
  1. Prev
  2. Next