Permalink
Commits on Mar 19, 2011
Commits on Mar 15, 2011
Commits on Mar 8, 2011
  1. Dropped _Else clause in socket_loop as it prevents things from failin…

    yrashk committed Mar 8, 2011
    …g if some evil code tries to feed socket_loop with unsupported messages. This way tcp messages other than tcp_closed and ssl_closed are saved until request/2 is called (if it is a keep_alive connection) so if client decides to reuse a connection (which is possible in HTTP/1.1) it won't have data eaten by _Else clause.
    
    Instead of being too forgiving, its connection will be rather forcefully dropped (if it was a keep_alive connection) next time request/2 is called, which is a right way to penalize an unruly code.
Commits on Mar 7, 2011
Commits on Mar 2, 2011
  1. socket_loop should be able to detect if the remote party is gone (tcp…

    yrashk committed Mar 2, 2011
    …_closed) and quit immediately, because is no sense in trying to send anything to the closed socket.
Commits on Nov 21, 2010
  1. refactored to considerably improve sending of static files

    ostinelli committed Nov 21, 2010
    minor bug corrections
Commits on Aug 11, 2010
  1. added copyright notice

    ostinelli committed Aug 11, 2010
  2. removed .app file

    ostinelli committed Aug 11, 2010
  3. * added support to websocket protocol hixie draft 76 (thanks to serg…

    ostinelli committed Aug 11, 2010
    …io veiga)
    
     * added support to multiple websocket draft protocols (for backwards compatibility)
     * added ws_autoexit option which allows to get an event on websocket controlling processes (issue track #15, suggestion of esente)
     * added headers also in misultin websockets (thanks to jlirochon)
     * made it basho's rebar friendly (thanks to mrinalwadhwa)
Commits on May 16, 2010
  1. - added HTTP compression option

    ostinelli committed May 16, 2010
    - refactoring of the main server loop, so that it is now isolated from the HTTP functionality
    - removed unnecessary compilation warnings
    - replaced proplists:get_value with much faster utility function
Commits on May 1, 2010
Commits on Apr 21, 2010
  1. added SSL support

    ostinelli committed Apr 21, 2010
Commits on Mar 11, 2010
Commits on Feb 14, 2010
  1. No commit message

    ostinelli committed Feb 14, 2010
Commits on Jan 20, 2010
  1. typo correction.

    ostinelli committed Jan 20, 2010
  2. license adjusted.

    ostinelli committed Jan 20, 2010
Commits on Jan 19, 2010
  1. added Req support to return the socket handling the request;

    ostinelli committed Jan 19, 2010
    bug correction on Content-Length: 0 header causing timeout on POST requests [issue track #12, thanks to gdamjan]
Commits on Dec 1, 2009
Commits on Nov 20, 2009
Commits on Oct 25, 2009
Commits on Oct 7, 2009
Commits on Oct 2, 2009
  1. - added flow control using inet options {active, once} [issue track #1,…

    ostinelli committed Oct 2, 2009
    … thanks to Max Lapshin]
    
           - added support to standard http headers response
           - added http 400 bad request error in socket handling
           - bug correction: removed erroneous sending of response timeout on listening open connections
           - added stream_support optimization option