Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 25, 2010
  1. 1.89 rel work

    authored
  2. preparing for 1.89

    Claes Wikstrom authored
Commits on Sep 15, 2010
  1. @hce

    Fix all.zip routine.

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

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

    vinoski authored
    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. @vinoski

    very minor whitespace fixes

    vinoski authored
  2. @vinoski
  3. @vinoski

    for portability, use erlang:md5 rather than crypto md5

    vinoski authored
    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 authored
    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 authored
    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. @vinoski

    minor code cleanup

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

    Merge branch 'websockets' (Dominique Boucher)

    schemeway authored
    Conflicts:
    	src/yaws_websockets.erl
  2. @schemeway
  3. @vinoski

    teach fcgi_encode_name_value to handle non-flat lists

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

    avoid abnormal exit for FCGI worker failures

    vinoski authored
    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. @vinoski

    Add auth_skip_docroot server config variable (Christian Hennig)

    vinoski authored
    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. @norton

    Fix use_old_ssl=bool() for R14A

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

    add --umask option to yaws script

    vinoski authored
    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. @karlsson
  2. @karlsson
Commits on Jul 24, 2010
  1. @vinoski
  2. @vinoski

    performance enhancements

    vinoski authored
    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. @vinoski

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

    vinoski authored
    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. @vinoski

    fix cached process counter (Hans-Christian Esperer)

    vinoski authored
    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
  1. @karlsson
  2. @karlsson
Commits on Jun 28, 2010
  1. @vinoski

    return part headers from yaws_multipart:read_multipart_form

    vinoski authored
    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

    authored
Commits on Jun 15, 2010
  1. docs

    authored
Commits on Jun 4, 2010
  1. @simonoff
Commits on May 31, 2010
  1. @vinoski
Commits on May 29, 2010
  1. @vinoski
Something went wrong with that request. Please try again.