Permalink
Commits on Jul 7, 2010
  1. - Deprecated the passing of a file descriptor to Connection.write, th…

    …is was out of spec, and not fully functional.
    miksago committed Jul 7, 2010
  2. - Renamed Connection._id to Connection.id

      (alias exists for backwards compatibility, this will be removed in the next version.)
    - Added Connection.broadcast(), which sends data to every client except the sending client.
    - Added notice for deprecation of Connection._id
    miksago committed Jul 7, 2010
  3. Removing trailing whitespace

    miksago committed Jul 7, 2010
  4. - Implemented the hijacking of an existing http server.

    - EchoServer example now also servers the client for you.
    
    This changeset means that node-websocket-server can hijack a http.Server from say, Connect, and serve up websockets when needed and let Connect do the rest.
    miksago committed Jul 7, 2010
  5. Switch to using native Array.isArray over typeof check, native Array.…

    …isArray is more reliable and faster
    miksago committed Jul 7, 2010
Commits on Jun 27, 2010
  1. Write \xff rather than \uffff.

    pgriess committed with miksago Jun 21, 2010
  2. Add FD passing.

    pgriess committed with miksago Jun 21, 2010
Commits on Jun 17, 2010
  1. Fixing issue #7 patch, turned out client == undefined|null, therefore…

    …, client._state threw an error.
    miksago committed Jun 17, 2010
  2. Hopefully fixing issue #7

    miksago committed Jun 17, 2010
Commits on Jun 14, 2010
  1. Release: 1.2.00

    Changelog:
    - Moved to linked lists for managing connections.
    - Rewrote packet parser, it's now much more robust
    - Removed old server files.
    - Renamed server#close -> server#shutdown, this is emitted on server.close();
    - Added server#close(connection) event to allow you to write connection close
      handlers at the server level.
    - Added server.send(client_id, data) for sending data to only one client.
    - Restructured a lot of the internal code to be much tidier.
    miksago committed Jun 14, 2010
  2. Pre-Release of version 1.2.00.

    miksago committed Jun 14, 2010
Commits on Jun 13, 2010
  1. Started to implement the LinkedList structure for storing clients. Cu…

    …rrently adds clients, allows searching, and forEach'ing them
    miksago committed Jun 13, 2010
Commits on Jun 10, 2010
  1. Update to release script

    miksago committed Jun 10, 2010
  2. Preparing for v1.1.00 release

    miksago committed Jun 10, 2010
  3. Adding more information about the spam test & adding back in the echo…

    …ing of messages to the connected clients.
    miksago committed Jun 10, 2010
  4. Implemented new packet parser:

    - Seems to handle packets that get broken by the os.
    - Seems to parse packets at very fast rate (rough figure of 1 million packets / 55241 milliseconds)
    - Could be made more more efficient, works, but builds memory until GC happens.
    miksago committed Jun 10, 2010
Commits on Jun 9, 2010
  1. Fixing a few issues, starting to work on draft76 upgrade. note to sel…

    …f: commit more regularly.
    miksago committed Jun 9, 2010
  2. v1.0.53 patch release

    miksago committed Jun 9, 2010
Commits on May 22, 2010
  1. Adding in a disablerable debug logger, testing out new auto_versionin…

    …g on clients, this will enable an 'auto' mode on the server, so that it'll switch automatically between draft75 and draft76+ dependent on the headers the client sends.
    miksago committed May 22, 2010
Commits on May 10, 2010
  1. Implementing server.broadcast, a nicer way to send a message to all a…

    …ttached clients. This will shortly be followed by route.broadcast, after I rewrite the code for the route and connection constructors
    miksago committed May 10, 2010