Skip to content
Commits on Apr 27, 2012
  1. @capflam

    Fix bugs in yaws_api:parse_multipart_post/1,2 for chunked requests

    capflam committed Apr 27, 2012
    For chunked requests, when several parts are parsed, only the first one was
    processed properly. For the others, all the content of each part was needed
    to be parsed. So when an huge file was uploaded, this bug could lead to a
    memory exhaustion.
    
    Note: Now, yaws_api:parse_multipart_post/1,2 can return '{error, Reason}'
    if an error occurred during the parsing.
Commits on Feb 21, 2012
  1. @capflam

    Manage all 'special' headers of #headers{} and #outh{} records

    capflam committed Feb 21, 2012
    Some headers, like 'Content-Encoding' or 'Transfer-Encoding' were
    not correctly handled. These changes can be useful for everyone who
    writes yaws scripts or appmods. In particular, the next version of
    the reverse proxy depends on it.
Commits on Feb 15, 2012
  1. @capflam

    Fix issue #88

    capflam committed Feb 15, 2012
    2 changes here:
    
     * Revert "Flush remaining data when dynamic content is delivered"
    
    This reverts commit d09ed3d.
    Systematically flushing data is not a good idea.
    
     * Add "flush" as possible return value of the out/1 function
    
    Some clients (eg. Firefox and google-chome...) do not handle connection
    close gracefully when the connection is closed during sending data; they
    do not read the server response. So, when the response is important, to
    warn the end-user that an error occured for example, we must be fair by
    flushing data before closing the connection.
Commits on Jan 18, 2012
  1. @sgolovan @vinoski

    fix syntax and spelling errors in man pages

    sgolovan committed with vinoski Jan 16, 2012
    In man/yaws.conf.5, man/yaws_api.5: Fixed a few syntax and spelling
    errors in manpages.
Commits on Jan 6, 2012
  1. @capflam
Commits on Dec 25, 2011
  1. exhtml cleanup

    Claes Wikstrom committed Dec 25, 2011
Commits on May 12, 2010
  1. @vinoski

    Allow "stream processes" to close the client socket

    vinoski committed May 12, 2010
    Yaws allows application processes to take control of the client socket
    via the streamcontent_from_pid directive. Sometimes during the course
    of its data delivery the application might find that it needs to close
    the socket, but the original design did not provide a way for the
    application to tell Yaws the socket was closed. The result was that a
    message like the one below would show up in the Yaws log whenever a
    closed socket was returned to Yaws, due to Yaws trying to continue to
    use the socket as if it were still open:
    
         =ERROR REPORT==== 12-May-2010::00:27:05 ===
         Yaws process died: {{badmatch,{error,einval}},
                             [{yaws,setopts,3},
                              {yaws,http_recv_request,2},
                              {yaws,do_http_get_headers,2},
                              {yaws,http_get_headers,2},
                              {yaws_server,aloop,3},
                              {yaws_server,acceptor0,2},
                              {proc_lib,init_p_do_apply,3}]}
    
    Change yaws_api:stream_process_end/2 to allow the application to pass
    the atom 'closed' as the first argument, in place of the socket
    argument. This informs Yaws that the socket is closed and prevents it
    from trying to keep using it, thus avoiding errors like the one above.
Commits on Oct 17, 2009
  1. @vinoski

    fixes for FCGI authorization (Bruno Rijsman), plus I cleaned up inden…

    vinoski committed Oct 17, 2009
    …tation and comments in yaws_cgi.erl
Commits on Sep 21, 2009
  1. @vinoski
Commits on Jul 10, 2009
  1. cgi support

    committed Jul 10, 2009
Commits on Apr 27, 2009
  1. doc patch from kevingrimes

    committed Apr 27, 2009
Commits on Jan 22, 2009
Commits on Oct 20, 2008
  1. doc fixes

    committed Oct 20, 2008
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1286 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Sep 12, 2008
  1. added redirect_self to yaws_api

    committed Sep 12, 2008
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1276 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Jul 1, 2008
  1. speling

    committed Jul 1, 2008
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1265 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  2. modified patch by Robert David to add a hook to yaws session server w…

    committed Jul 1, 2008
    …hen a session is gone
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1264 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Feb 14, 2008
  1. untabified all of yaws

    committed Feb 14, 2008
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1217 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Nov 10, 2007
  1. git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk…

    committed Nov 10, 2007
    …/yaws@1175 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on May 24, 2007
  1. added a dir_listing function in yaws_api

    committed May 24, 2007
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1117 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Sep 20, 2006
  1. *** empty log message ***

    committed Sep 20, 2006
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1029 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Apr 27, 2006
  1. added support for 2 additional configure

    committed Apr 27, 2006
    flags, --disable-pam and --with-extrainclude=DIR
    
    Worked the Makefiles to properly support DESTDIR. This is
    useful for packagers (deb, rpm ...)
    
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@960 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Feb 1, 2006
  1. added pam support + prepare for 1.58

    committed Feb 1, 2006
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@932 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on May 23, 2005
  1. ""

    committed May 23, 2005
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@887 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Apr 12, 2005
  1. 1.54

    committed Apr 12, 2005
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@868 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Sep 13, 2004
  1. added example docs on how to stream data

    committed Sep 13, 2004
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@770 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on May 28, 2004
  1. yaws_session_server ttl patch from Rob.Schmersel

    committed May 28, 2004
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@707 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  2. New feature yssi, yaws include

    committed May 28, 2004
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@706 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Mar 11, 2004
  1. explicit support for content_length

    committed Mar 11, 2004
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@627 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Mar 10, 2004
  1. postvar bug by hal snyder, added yaws_api:query_url/1 added the id su…

    committed Mar 10, 2004
    …pport and removed the uid stuff, added -j to control trace of a running daemon, bugfixes in the logger,
    
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@626 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Feb 13, 2004
Commits on Jan 27, 2004
  1. documented jockes new bindings feature

    committed Jan 27, 2004
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@582 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Dec 17, 2003
  1. postvar(), queryvar(), ssi docs

    committed Dec 17, 2003
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@562 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Aug 25, 2003
  1. @carsten3347

    Make call_cgi available in yaws_api.

    carsten3347 committed Aug 25, 2003
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@495 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Commits on Aug 24, 2003
  1. @carsten3347
Commits on Nov 25, 2002
  1. ""

    committed Nov 25, 2002
    git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@303 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
Something went wrong with that request. Please try again.