Permalink
Commits on Oct 6, 2010
  1. Merge branch 'master' of git://github.com/klacke/yaws

    Conflicts:
    	man/yaws.conf.5
    committed Oct 6, 2010
Commits on Oct 5, 2010
  1. @klacke
  2. @klacke

    bad docs for ssl verify

    klacke committed Oct 5, 2010
  3. @vinoski

    updated mime.types

    Updated mime.types based on Apache's mime.types. See the top of
    src/mime.types for details.
    vinoski committed Oct 5, 2010
Commits on Oct 4, 2010
  1. @vinoski

    fix typos on soap intro page (reported by Wes James)

    Fix typos, and also update the instructions for retrieving erlsom to
    use github.com instead of SourceForge.
    vinoski committed Oct 4, 2010
Commits on Oct 1, 2010
  1. Added handling of SSL option.

    * Added access functions for fail_if_no_peer_cert.
    * Handle new SSL verify and fail_if_no_peer_cert options in config.
    committed Oct 1, 2010
  2. Fixed and updated SSL verify options.

    * Fixed documentation for verify values to correspond to Erlang's SSL
      implementation.
    * Updated documentation to include new SSL implementation options.
    * Updated #ssl{} and yaws:ssl_listen_opts/2 to include
      fail_if_no_peer_cert.
    committed Oct 1, 2010
Commits on Sep 25, 2010
  1. @klacke

    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. @hce

    Fix all.zip routine.

    all.zip should not not include .yaws files, nor directories
    "protected" with an index file, nor directories protected by an auth
    directive.
    hce committed Sep 15, 2010
  2. @vinoski

    adjust to R14B change in gen_tcp:recv for {packet,http} mode

    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.
    vinoski committed Sep 15, 2010
Commits on Sep 1, 2010
  1. @vinoski

    very minor whitespace fixes

    vinoski committed Sep 1, 2010
  2. @vinoski
  3. @vinoski

    for portability, use erlang:md5 rather than crypto md5

    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.
    vinoski committed Sep 1, 2010
Commits on Aug 30, 2010
  1. restore conf target, just make it use stdconf

    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.
    Steve Vinoski committed Aug 30, 2010
  2. eliminate redundant conf target in t2 test Makefile

    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.
    Steve Vinoski committed Aug 30, 2010
Commits on Aug 28, 2010
  1. @vinoski

    minor code cleanup

    vinoski committed Aug 28, 2010
  2. @vinoski
Commits on Aug 27, 2010
  1. @schemeway

    Merge branch 'websockets' (Dominique Boucher)

    Conflicts:
    	src/yaws_websockets.erl
    schemeway committed Aug 27, 2010
  2. @schemeway
  3. @vinoski

    teach fcgi_encode_name_value to handle non-flat lists

    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.
    vinoski committed Aug 27, 2010
  4. @schemeway
Commits on Aug 26, 2010
  1. @klacke
Commits on Aug 24, 2010
  1. @vinoski

    avoid abnormal exit for FCGI worker failures

    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.
    vinoski committed Aug 24, 2010
Commits on Aug 23, 2010
  1. @vinoski

    Add auth_skip_docroot server config variable (Christian Hennig)

    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.
    vinoski committed Aug 23, 2010
Commits on Aug 13, 2010
  1. @norton

    Fix use_old_ssl=bool() for R14A

    Starting with R14A release, ssl_impl() must always be set for forwards and backwards compatibility.
    norton committed Aug 13, 2010
Commits on Aug 3, 2010
  1. @vinoski
  2. @vinoski

    add --umask option to yaws script

    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.
    vinoski committed Aug 3, 2010
Commits on Jul 26, 2010
  1. @karlsson
  2. @karlsson

    Modifed yapp application - added simple example and changed oroginal …

    …authors mail address.
    karlsson committed Jul 26, 2010
Commits on Jul 24, 2010
  1. @vinoski
  2. @vinoski

    performance enhancements

    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.
    vinoski committed Jul 24, 2010
Commits on Jul 21, 2010
  1. @vinoski

    add support for PHP FCGI applications (Hans-Christian Esperer)

    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.
    vinoski committed Jul 21, 2010
Commits on Jul 16, 2010
  1. @vinoski

    fix cached process counter (Hans-Christian Esperer)

    Stopping old cached processes was not properly resetting the cached
    process counter, eventually resulting in a lack of any cached
    processes.
    vinoski committed Jul 16, 2010
Commits on Jul 1, 2010
  1. @karlsson