Permalink
Switch branches/tags
Commits on Aug 25, 2010
Commits on Aug 9, 2010
Commits on Aug 8, 2010
  1. 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
Commits on Jul 22, 2010
Commits on Jul 13, 2010
  1. 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. Bump version number.

    pgriess committed Jul 6, 2010
Commits on Jun 30, 2010
Commits on Jun 29, 2010
  1. Add package.json file.

    pgriess committed Jun 29, 2010
Commits on Jun 21, 2010
  1. Test a server-sent message.

    pgriess committed Jun 21, 2010
Commits on Jun 19, 2010
Commits on Jun 18, 2010
  1. Add c->s message to unit test.

    pgriess committed Jun 18, 2010
  2. Add s->c message to unit test.

    pgriess committed Jun 18, 2010
  3. Add a unit test.

    pgriess committed Jun 18, 2010
Commits on Jun 17, 2010
  1. Remove superflous trailing ';'

    pgriess committed Jun 17, 2010
  2. Lots of fixes.

    - Fix busted use of offset 0 in low-byte frame parser rather than the
      provided offset
    - Fix busted httpClient.write() of challenge w/ ambiguous encoding; use
      'binary' instead
    - More refactoring: isolate handshaking in WebSocket(); create dispatch
      table for parsers
    - Add debug() method for NODE_DEBUG & 0x4
    pgriess committed Jun 17, 2010