Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 8, 2011
  1. @igrigorik
Commits on May 6, 2011
  1. @mloughran

    Release version 0.3.0

    mloughran authored
  2. Merge pull request #39 from imanel/proper_on_error

    Martyn Loughran authored
    Re-factor internals so that error handling can be easily overriden
  3. @imanel
  4. @imanel
  5. @mloughran
  6. @mloughran
  7. @dj2 @mloughran

    allow calling the builder method with already parsed headers

    dj2 authored mloughran committed
  8. @mloughran

    Merge branch 'draft5and6'

    mloughran authored
Commits on Apr 4, 2011
  1. @mloughran

    Improve and simlify handling of framing errors for draft 76

    mloughran authored
    * raising DataError will be caught by Connection
    * onerror will be triggered if defined
    * This is now consistent with the newer framing modules
Commits on Mar 24, 2011
  1. @mloughran

    Clean up debug logging

    mloughran authored
    * no need to inspect since debug already does this
  2. @mloughran
  3. @mloughran
  4. @mloughran
  5. @mloughran

    Handle application errors in onclose by calling onerror

    mloughran authored
    * This seems consistent with other errors although I could be convinced otherwise...
  6. @mloughran
  7. @mloughran

    Handle application errors in consistent way and support error codes

    mloughran authored
    Previously errors in onopen were 'invisible' if debug was off and onerror had not been defined.
    
    * Application errors: if onerror has been defined then call that (as now), otherwise the exception will be re-raised and propagated up the stack.
    * Internal exceptions (e.g. HandshakeError) don't change: they will be passed to onerror if it's defined but otherwise just passed to debug
    
    The current spec does not define 400 Bad request so remove that too
  8. @mloughran

    Added shared examples to all integration tests which fail showing tha…

    mloughran authored
    …t error handling is inconsistent
    
    * Upgraded rspec to use latest shared example syntax
    * Created new fake clients so that same interface can be used in all shared examples
  9. @mloughran
Commits on Mar 23, 2011
  1. @mloughran

    Refactor close_websocket method and default the close code to 1000

    mloughran authored
    * Check the code in the public close_websocket method rather than deep in the implementation. This means that close_websocket can be used internally with other codes
    * Added abort private method which makes aborting (defined in spec) clear in the code
    * Bugfix if body not supplied to close_websocket
  2. @mloughran
  3. @mloughran
Commits on Mar 14, 2011
  1. @mloughran
  2. @mloughran
  3. @mloughran
  4. @mloughran

    Removed unused masking api

    mloughran authored
  5. @mloughran

    Support draft 06 - new close frames

    mloughran authored
    * Support sending a close status code from application code
        ws.close_websocket(4123, "Optional reason")
    * Read close status code when close message received. This isn't exposed to the API yet
  6. @mloughran

    Moved message handling into separate module

    mloughran authored
    The framing and message handling are independant - close message handling changed between drafts 05 and 06 with the same framing
  7. @mloughran

    Functioning frame handling for draft 05

    mloughran authored
    Basically just involved changing the draft 03 code to unmask the frame data as appropriate. Needs to be abstracted so that the code is shared between draft 03 & 05
  8. @mloughran
  9. @mloughran

    Implemented framing for draft 04 (also used in 05, 06)

    mloughran authored
    * Just need to flip MORE bit to FIN
  10. @mloughran

    Simple implementation of XOR masking

    mloughran authored
    * I'm pretty sure this is massively slow, this is just supposed to work for now
  11. @mloughran
Commits on Mar 1, 2011
  1. @mloughran

    Released version 0.2.1

    mloughran authored
  2. @mloughran
Something went wrong with that request. Please try again.