Permalink
Commits on Nov 14, 2012
Commits on Sep 2, 2012
  1. Fix the way the Connection header was parsed.

    The "Upgrade" verb doesn't need to be the only one present in the
    header, since for instance Firefox uses:
    
    Connection: keep-alive, Upgrade
    
    Fix that.
    wulczer committed Sep 2, 2012
Commits on Aug 31, 2012
  1. use case-insensitive comparison for Upgrade and Connection headers

    According to RFC 6455, matching these header fields should be done in
    a case-insensitive manner and actually IE10 developer preview was not
    working with the current version as it was using "Websocket" for the
    Upgrade header.
    wulczer committed Aug 31, 2012
Commits on Apr 2, 2012
  1. Merge pull request #4 from thomasvs/version-7

    Seems thata we can get away with claiming
    we support WebSockets protocol version 7, too.
    wulczer committed Apr 2, 2012
  2. wulczer told me to do this for firefox 6

    Thomas Vander Stichele committed Apr 2, 2012
Commits on Mar 24, 2012
  1. ignore .pyc

    Thomas Vander Stichele committed with wulczer Sep 13, 2011
  2. only write if connected

    Thomas Vander Stichele committed with wulczer Mar 17, 2012
  3. make it work with mozilla too without flash

    Thomas Vander Stichele committed with wulczer Mar 17, 2012
  4. make this an importable module

    Thomas Vander Stichele committed with wulczer Sep 13, 2011
Commits on Oct 19, 2011
  1. Merge branch 'master' of github.com:chadselph/txWebSocket

    Conflicts:
    	README.md
    committed Oct 19, 2011
  2. Merge pull request #1 from chadselph/84b28be8

    Support protocol version 13 (not any different from 8, as far as we're concerned).
    wulczer committed Oct 19, 2011
  3. Also allow version 13 in hybi client handshake

    The protocol changes don't really affect the rest of the code we never
    check Sec-WebSocket-Version in the hybi-8 flow.
    committed Oct 19, 2011
Commits on Sep 29, 2011
Commits on Sep 8, 2011
  1. updated README file

    committed Sep 8, 2011
  2. Maintain a connected flag to prevent attribute errors.

    When the underlying Request object fires the notifyFinish Deferred's
    errback, the _request attribute gets deleted, supposedly to prevent
    memory leaks. That's definitely not the best way to handle references
    and probably is not necessary at all, but changing that would require
    more in-depth investigation.
    
    For now, to prevent errors when the connection is lost and then the
    remaining buffers get written to the now nonexistent request, causing
    AttributeErrors, keep a flag that gets set when the connection is lost
    and makes further writes and connection drop requests get ignored.
    wulczer committed with Sep 3, 2011
Commits on Sep 3, 2011
  1. Maintain a connected flag to prevent attribute errors.

    When the underlying Request object fires the notifyFinish Deferred's
    errback, the _request attribute gets deleted, supposedly to prevent
    memory leaks. That's definitely not the best way to handle references
    and probably is not necessary at all, but changing that would require
    more in-depth investigation.
    
    For now, to prevent errors when the connection is lost and then the
    remaining buffers get written to the now nonexistent request, causing
    AttributeErrors, keep a flag that gets set when the connection is lost
    and makes further writes and connection drop requests get ignored.
    wulczer committed Sep 3, 2011
Commits on Aug 30, 2011
Commits on Aug 17, 2011
  1. Look for "Upgrade" in Connection instead of matching exactly.

    The Connection header can contain other stuff, for instance Firefox 6
    puts "keep-alive" there.
    wulczer committed Aug 17, 2011
Commits on Jul 31, 2011
  1. Merge branch 'hybi-10'

    wulczer committed Jul 31, 2011
  2. Merge branch 'hybi-10'

    Conflicts:
    	test_websocket.py
    wulczer committed Jul 31, 2011
  3. Fix misparsing of empty frames.

    Empty frames were putting the decoder in the PAYLOAD state, from which
    it was never recovering because no payload was ever received.
    wulczer committed Jul 31, 2011
  4. Fix reference errors when disconnecting the client.

    The decoder does not have a reference to the transport, it has to go
    through the handler.
    wulczer committed Jul 31, 2011
  5. Factor out a method that completes frame reception.

    In passing fix a few bugs where opcodes were mismatched and frame
    fragments were lost.
    wulczer committed Jul 31, 2011
  6. Only complain about binary frame length after reading all of it.

    Otherwise the frameLengthExceeded handler can be called multiple times
    while decoding the length.
    wulczer committed Jul 31, 2011
  7. Fix decoding of pre-hixie-76 protocol version.

    Commit 752241f accditentally ended up
    hooking the hybi-10 protocol decoder to requests using the
    pre-hixie-75 handshake.
    wulczer committed Jul 31, 2011