Permalink
Commits on Dec 7, 2011
  1. fix regex

    committed Dec 7, 2011
Commits on Nov 18, 2011
  1. fix regex

    committed Nov 18, 2011
  2. cleaner

    committed Nov 18, 2011
Commits on Nov 16, 2011
Commits on Dec 15, 2010
  1. @pgriess
  2. @pgriess

    Update version to 1.0.

    pgriess committed Dec 15, 2010
  3. @pgriess
Commits on Dec 8, 2010
  1. @izuzak @pgriess
  2. @pgriess
Commits on Dec 5, 2010
  1. @pgriess

    Typo fixes.

    pgriess committed Dec 5, 2010
  2. @pgriess
  3. @pgriess

    Support close frames.

    - Send close frames on close() or on receipt of a close frame from the
      server.
    - Add a timeout option to close() to handle servers that don't properly
      support client-initiated close handshaking.
    - Re-jigger unit tests to avoid client-initiated closes, as the WS
      server that we're using doesn't support this.
    pgriess committed Dec 5, 2010
  4. @pgriess
  5. @pgriess
  6. @pgriess

    Minor cleanup.

    pgriess committed Dec 5, 2010
  7. @pgriess
  8. @pgriess
Commits on Nov 20, 2010
  1. @izuzak
Commits on Sep 23, 2010
  1. @pgriess

    Allow closing connections in the CONNECTING state.

    - Also, explicitly close the HTTP client instance if we fail to connect.
    pgriess committed Sep 23, 2010
Commits on Sep 22, 2010
  1. @pclifford @pgriess

    Compatibility with SocketIO

    The data for the onmessage event needs to match the MessageEvent interface:
    http://dev.w3.org/html5/websockets/#feedback-from-the-protocol
    
    ... which is defined here:
    http://www.whatwg.org/specs/web-apps/current-work/#event-definitions-0
    
    This is the smallest possible change to make it work with SocketIO
    pclifford committed with pgriess Sep 22, 2010
Commits on Aug 25, 2010
  1. @pgriess

    Add 'opts' param to WebSocket(); set Origin hdr.

    Closes #2
    
    - Fix inspired by nick@quaran.to.
    pgriess committed Aug 25, 2010
Commits on Aug 9, 2010
  1. @pgriess
Commits on Aug 8, 2010
  1. @pgriess

    Handle 0-length buffers.

    - Work around behavioral differences in different NodeJS versions with respect
      0-length buffers. Explicitly avoid attempting a copy() unless we're going
      to be operating on > 0 bytes.
    - Change 'error' event to 'wserror' to avoid EventEmitter throwing an error.
    pgriess committed Aug 8, 2010
Commits on Aug 5, 2010
  1. @pgriess
Commits on Jul 22, 2010
  1. @pgriess
  2. @miksago @pgriess
Commits on Jul 13, 2010
  1. @pgriess
  2. @pgriess

    Some fixes to lo-byte parser

    - The lo-byte parser would incorrectly call buf.copy() with an offset at
      the end of the target buffer and a length of 0. Though this is
      theoretically a no-op, Buffer.copy() is doing bounds-checking on the
      source before taking the length into account.
    - Clear bufs[] and bufBytes when consuming partial buffer.
    pgriess committed Jul 13, 2010
Commits on Jul 6, 2010
  1. @pgriess

    Bump version number.

    pgriess committed Jul 6, 2010
  2. @pgriess
Commits on Jun 30, 2010
  1. @pgriess
  2. @pgriess
Commits on Jun 29, 2010
  1. @pgriess
  2. @pgriess
  3. @pgriess