Commits on Jan 24, 2015
  1. @mloughran

    Merge pull request #134 from chrismar035/patch-1

    Add license to gemspec
    mloughran committed Jan 24, 2015
Commits on Jan 22, 2015
  1. @codegoalie

    Add license to gemspec

    codegoalie committed Jan 22, 2015
Commits on Jan 12, 2015
  1. @mloughran

    Merge pull request #132 from patriciomacadden/fix-broken-link

    Fix broken link.
    mloughran committed Jan 12, 2015
  2. @patriciomacadden

    Fix broken link.

    patriciomacadden committed Jan 12, 2015
Commits on Jun 11, 2014
  1. @mloughran
Commits on May 21, 2014
  1. @mloughran

    Merge pull request #123 from zimbatm/outbound_limit

    Outbound limit
    mloughran committed May 21, 2014
  2. @zimbatm

    Adds an optional :outbound_limit setting

    If :outbound_limit is set, the server closes the connection if we have more
    than that value of in-flight data in the sending buffer.
    zimbatm committed Apr 25, 2014
  3. @zimbatm
Commits on Apr 24, 2014
  1. @mloughran

    Merge pull request #107 from janlelis/master

    also return sub-protocol header for handshake 04 and 75
    mloughran committed Apr 24, 2014
  2. @mloughran

    Added remote_ip method closes #104

    Thanks to @shokai and @kramerc for the suggestion and code.
    mloughran committed Apr 24, 2014
Commits on Apr 23, 2014
  1. @mloughran

    Released version 0.5.1

    mloughran committed Apr 23, 2014
  2. @mloughran
  3. @mloughran

    Handle case where close handshake is not ack'd

    By default clients are given 60s to reply to the close handshake - if they do not the connection will be force closed and an error provided to the server.
    
    This is a rare event, but it can happen.
    mloughran committed Apr 23, 2014
Commits on Apr 10, 2014
  1. @mloughran
Commits on Jan 15, 2014
  1. @mloughran

    Fail the WebSocket connection on protocol error

    This is correct according to the spec for invalid UTF-8 errors. The spec isn't clear for other errors (e.g. receiving a message which is too large), but failing the connection seems appropriate.
    
    Specifically this means that we send the close code and then _close the tcp connection_. Previously there was a bug where the input stream would not be processed and therefore a close handshake ack would not be processed, leaving the connection open.
    
    Also refactored this logic into handler
    mloughran committed Apr 11, 2013
  2. @mloughran
  3. @mloughran

    Close if missing expected continuation frame

    NEEDS TESTS AND OTHER DRAFTS
    mloughran committed Apr 11, 2013
  4. @mloughran
  5. @mloughran

    Support binary

    mloughran committed Apr 11, 2013
Commits on Jan 10, 2014
  1. @mloughran
Commits on Jan 6, 2014
  1. @mloughran
Commits on Jan 2, 2014
  1. @mloughran

    Merge pull request #111 from spagalloco/gemspec

    remove dev_dependency on self
    mloughran committed Jan 2, 2014
  2. @mloughran

    Merge pull request #110 from spagalloco/http_parser

    update http_parser dependency to 0.6.0
    mloughran committed Jan 2, 2014
Commits on Jan 1, 2014
Commits on Dec 29, 2013
  1. @stve
  2. @stve

    remove dev_dependency on self

    stve committed Dec 28, 2013
Commits on Nov 20, 2013
  1. @janlelis
Commits on Nov 1, 2013
  1. @mloughran

    Added git dev dependency for em-websocket-client

    Can be removed when mwylde/em-websocket-client#5 is released
    mloughran committed Nov 1, 2013
  2. @mloughran

    Merge pull request #106 from movitto/update-dependencies

    Update http_parser.rb dep to 0.6.0.pre2
    mloughran committed Nov 1, 2013
Commits on Oct 31, 2013
  1. @movitto

    Update http_parser.rb dep to 0.6.0.pre2

    em-http-request needs to be updated to 1.1.1 for
    dependency compatability
    
    em-websocket-client added to spec suite since em-http-request
    1.x does not support websockets
    movitto committed Oct 31, 2013
Commits on Jun 13, 2013
  1. @mloughran
  2. @mloughran

    Whitespace

    mloughran committed Jun 13, 2013
Commits on May 20, 2013
  1. @mloughran
Commits on Apr 12, 2013
  1. @mloughran

    Fix to make specs pass on Ruby 1.8

    (to_s on array changed, may as well just inspect, which is what 1.9 does anyway)
    mloughran committed Apr 12, 2013
Commits on Mar 5, 2013
  1. @mloughran

    Released version 0.5.0

    mloughran committed Mar 5, 2013