Permalink
Switch branches/tags
Nothing to show
Commits on Mar 17, 2011
  1. Lots of changes.

    - TCP client "support" removed (for now?)
    - Factored out client storage into separate storage providers -- which storage provider to use is configurable during creation of a grappler server
    - Data from client -> server is now streamed instead of buffered (especially in the case of websockets)
    - Move constants and other common things into a separate file
    - Echo server re-done -- now includes a generic/reusable client-side js function to automatically choose the best available transport and provide a common API
    -
    committed Mar 17, 2011
Commits on Jul 28, 2010
Commits on Jul 27, 2010
  1. Fix long poll crash on write and ensure websocket writes only happen …

    …after the handshake reply has been sent.
    committed Jul 27, 2010
Commits on Jul 26, 2010
  1. Fixed README typos.

    committed Jul 26, 2010
Commits on Jul 22, 2010
  1. Let the user intercept HTTP Upgrade requests in addition to normal HT…

    …TP requests. This is useful for checking cookies as a means for deciding if the (WebSocket) connection should be permitted.
    committed Jul 22, 2010
Commits on Jul 21, 2010
  1. Fixed an issue for WebSocket clients where writing the client on the …

    …connection event would send the written data before the WebSocket handshake reply was sent. Also fixed an issue with long polling clients where queued data was never being sent to the client.
    committed Jul 21, 2010
Commits on Jul 20, 2010
Commits on Jul 19, 2010
  1. Added closing handshake for WebSocket connections and initial support…

    … for queueing data between long poll client reconnects.
    committed Jul 19, 2010
  2. Major overhaul after much testing.

    Notable changes:
     - The example server is now a more complete demo, allowing connections to the server via any of the implemented transports.
    
     - Flash WebSocket support added (via gimite/web-socket-js).
    
     - The plain TCP client handling is now disabled by default. Plain TCP client handling on the same port could currently present a problem with the addition of Flash WebSocket support.
    
     - A grappler server's origins option can now either be a "*:*"-type string, or an array of such strings.
    
     - Connections now only add themselves to the server's connection hash if they plan on sticking around for awhile.
    
     - Long polling is now implemented such that a persistent connection is emulated.
    
     - Removed unnecessary code.
    committed Jul 19, 2010
Commits on Jul 16, 2010
  1. Clarification in README.

    committed Jul 16, 2010
  2. Added callback for handling HTTP requests before assuming they are "c…

    …omet" connections. Also fixed a few misc. bugs.
    committed Jul 16, 2010
  3. Fixed typo.

    committed Jul 16, 2010
  4. Fixed Websocket draft 75 support, moved client disconnect code to one…

    … place, and fixed a bug when disconnecting a client not matching the supported origin(s).
    committed Jul 16, 2010
Commits on Jul 15, 2010
  1. Added secure cookie mechanism to check validity of message sending, f…

    …ixed some websocket issues (websockets still not working yet?), and added a small grappler server example.
    committed Jul 15, 2010
Commits on Jul 14, 2010
  1. Better origin checking and dynamic permanent generation of HttpClient…

    …'s cookie secret for securing cookies.
    committed Jul 14, 2010
  2. Initial commit.

    committed Jul 14, 2010