Permalink
Commits on Sep 25, 2010
  1. 1.89 rel work

    klacke committed Sep 25, 2010
  2. preparing for 1.89

    Claes Wikstrom committed Sep 25, 2010
Commits on Sep 15, 2010
  1. Fix all.zip routine.

    hce committed Sep 15, 2010
    all.zip should not not include .yaws files, nor directories
    "protected" with an index file, nor directories protected by an auth
    directive.
  2. adjust to R14B change in gen_tcp:recv for {packet,http} mode

    vinoski committed Sep 15, 2010
    Where we handle the return value of gen_tcp:recv while reading headers
    from the socket (such as with calls to yaws:do_recv), handle new R14B
    return values as well as existing return values for previous
    releases. According to the R14B release notes:
    
      For a socket in the HTTP packet mode, the return value from
      gen_tcp:recv/2,3 if there is an error in the header will be
      {ok,{http_error,String}} instead of {error,{http_error,String}} to
      be consistent with ssl:recv/2,3.
Commits on Sep 1, 2010
  1. very minor whitespace fixes

    vinoski committed Sep 1, 2010
  2. for portability, use erlang:md5 rather than crypto md5

    vinoski committed Sep 1, 2010
    Since OpenSSL availability on Windows for working with the crypto
    module is apparently questionable, use the erlang:md5 function in
    place of the crypto md5 functions.
Commits on Aug 30, 2010
  1. restore conf target, just make it use stdconf

    Steve Vinoski committed Aug 30, 2010
    The previous change to test/t2/Makefile broke test/Makefile,
    which expects t1 and t2 to have conf targets. Restore the conf
    target but simply make it depend on stdconf.
  2. eliminate redundant conf target in t2 test Makefile

    Steve Vinoski committed Aug 30, 2010
    The test/t2/Makefile contained a conf target, but the
    stdconf target in test/support/include.mk already does
    what's needed. Eliminate conf and just use stdconf.
Commits on Aug 28, 2010
  1. minor code cleanup

    vinoski committed Aug 28, 2010
Commits on Aug 27, 2010
  1. Merge branch 'websockets' (Dominique Boucher)

    schemeway committed Aug 27, 2010
    Conflicts:
    	src/yaws_websockets.erl
  2. teach fcgi_encode_name_value to handle non-flat lists

    vinoski committed Aug 27, 2010
    The yaws_cgi:fcgi_encode_name_value function can now handle non-flat
    lists for Name and Value, to allow callers to form them via io:format
    for example.
Commits on Aug 26, 2010
Commits on Aug 24, 2010
  1. avoid abnormal exit for FCGI worker failures

    vinoski committed Aug 24, 2010
    If an FCGI worker fails, which can happen for example if its TCP
    connection to the FCGI server fails, we log an error message and
    exit. Change the exit to always be normal to avoid filling logs with
    additional process crash messages for any abnormal exits.
Commits on Aug 23, 2010
  1. Add auth_skip_docroot server config variable (Christian Hennig)

    vinoski committed Aug 23, 2010
    At startup Yaws normally searches the entire docroot for .yaws_auth
    files. For very large docroot directories, the time required to
    perform the search can result in unacceptably long startup times. To
    allow for large docroot directories, add auth_skip_docroot server
    config variable which, if set to true, prevents Yaws from searching
    the docroot for .yaws_auth files. The variable defaults to false.
    
    Add documentation for auth_skip_docroot variable.
    
    Also clean up some whitespace and typos in the yaws.conf.5 man page.
Commits on Aug 13, 2010
  1. Fix use_old_ssl=bool() for R14A

    norton committed Aug 13, 2010
    Starting with R14A release, ssl_impl() must always be set for forwards and backwards compatibility.
Commits on Aug 3, 2010
  1. add --umask option to yaws script

    vinoski committed Aug 3, 2010
    Users can use the --umask option to set the process umask for the yaws
    daemon. By default the daemon inherits the umask of its parent process.
Commits on Jul 26, 2010
  1. Modifed yapp application - added simple example and changed oroginal …

    karlsson committed Jul 26, 2010
    …authors mail address.
Commits on Jul 24, 2010
  1. performance enhancements

    vinoski committed Jul 24, 2010
    Based on a yaws configuration consisting of an appmod registered on
    "/" and simply returning {status, 204} with no response body, these
    changes resulted in a 6.8% performance improvement on a modest older
    Ubuntu 8.10 2.40GHz Core 2 Duo box with 2GB of RAM. The changes were
    identified by analyzing fprof output, and performance was measured
    using ab (ApacheBench) running on the same host as shown below:
    
    ab -k -n 1000000 -c 1000 http://localhost:8200/
    
    The access log was disabled and the listen backlog was set to 512, but
    other than that the default configuration was used. Requests per
    second went from ~14750 to ~15750. YMMV.
Commits on Jul 21, 2010
  1. add support for PHP FCGI applications (Hans-Christian Esperer)

    vinoski committed Jul 21, 2010
    Add server configuration support for PHP FCGI applications. Modify
    dispatching support to invoke a PHP FCGI server for .php files if
    configured.
    
    Modify existing FCGI application server configuration to use a single
    separate fields. Use the same approach for the phpfcgi field. Patch up
    yaws_cgi.erl for these changes.
    
    Enhance yaws.conf.5 and yaws.tex to describe the new PHP FCGI
    support.
    
    Also fix a number of editorial issues in yaws.tex.
Commits on Jul 16, 2010
  1. fix cached process counter (Hans-Christian Esperer)

    vinoski committed Jul 16, 2010
    Stopping old cached processes was not properly resetting the cached
    process counter, eventually resulting in a lack of any cached
    processes.
Commits on Jul 1, 2010
Commits on Jun 28, 2010
  1. return part headers from yaws_multipart:read_multipart_form

    vinoski committed Jun 27, 2010
    Each part of a multipart/form-data message can have part-specific
    headers such as Content-Type and Content-Transfer-Encoding. This
    changes adds these headers to the parameter lists within the dict
    returned from yaws_multipart:read_multipart_form and to the parameter
    list returned from yaws_api:parse_multipart_post.
    
    Modify the documentation to reflect the fact that these headers are
    now returned if present. Also fixed a coding error in the existing
    multipart example in yaws.tex.
    
    Add a new unit test to multipart_post_parsing.erl to verify the return
    value of yaws_multipart:read_multipart_form. The unit test previously
    checked only yaws_api:parse_multipart_post.
    
    This work is based on a patch submitted by Dilshod Temirkhodjaev.
Commits on Jun 21, 2010
  1. docs

    klacke committed Jun 21, 2010
Commits on Jun 15, 2010
  1. docs

    klacke committed Jun 15, 2010
Commits on Jun 4, 2010
Commits on May 31, 2010
Commits on May 29, 2010