Skip to content
This repository

Apr 14, 2014

  1. Steve Vinoski

    Merge pull request #174 from yakaz/install-freebsd

    scripts/Install: Create ${etcdir}/rc.d on FreeBSD
    authored
  2. Jean-Sébastien Pédron

    scripts/Install: Create ${etcdir}/rc.d on FreeBSD

    If Yaws is installed in a non-standard directory, we must create
    ${etcdir}/rc.d before copying the init script there.
    authored

Apr 13, 2014

  1. Steve Vinoski

    update priv/mime.types from Apache

    authored

Apr 12, 2014

  1. Steve Vinoski

    allow a cleanup pid with replace_cookie_session

    Add yaws_api:replace_cookie_session/3 and
    yaws_session_server:replace_session/3 to allow the user to pass a cleanup
    pid in order to associate a new cleanup process with the replacement
    session. Thanks to Patrick Moy for suggesting this.
    authored

Apr 11, 2014

  1. Steve Vinoski

    allow extra app dependencies for yaws.app to be configured

    Yaws can depend on crypto for random numbers and hashes, and on the
    compiler for .yaws pages. But the default yaws.app file specifies only
    kernel and stdlib as application dependencies, since not all Yaws
    deployments use crypto or compiler. Still, if a Yaws system uses crypto and
    compiler without including them in the yaws.app file, building and
    deploying an Erlang/OTP release for that system will fail.
    
    Add --enable-crypto and --enable-compiler options to the configure script
    to allow the user to add either or both of these applications to the
    yaws.app file. Specifying the --enable-crypto option also causes the Yaws
    startup code to start the crypto application; likewise for
    --enable-compiler and the compiler application.
    
    For rebar builds, enhance rebar.config.script to generate the same files
    the configure script generates for any extra app dependencies. Setting the
    YAWS_APPDEPS environment variable to a space- or comma-separated list of
    addition applications to add to yaws.app, e.g.
    
    YAWS_APPDEPS='crypto compiler'
    
    causes rebar to add those apps to the generated yaws.app file and ensure
    they're started before Yaws started.
    authored

Apr 02, 2014

  1. Steve Vinoski

    dialyzer maintenance

    Fix known dialyzer warnings. Also change Makefile dialyzer rule to make it
    easier to see pass/fail results.
    authored

Mar 27, 2014

  1. Steve Vinoski

    remove unused -DDYNAMIC_DRIVER from c_src/Makefile

    Thanks to Richard Carlsson for pointing out this unused option.
    authored

Mar 25, 2014

  1. Steve Vinoski

    add check for YAWS_DISABLE_PAM to rebar.config.script

    Setting the OS environment variable YAWS_DISABLE_PAM to any value causes
    rebar builds to avoid building pam. This is equivalent to using the
    --disable-pam option with configure, and is useful for building in
    environments where pam development files are not available.
    authored
  2. Steve Vinoski

    add .rebar dir to .gitignore

    authored

Mar 20, 2014

  1. Steve Vinoski

    fix #173: set ibrowse dep to v3.0.4 in rebar.config

    Set ibrowse dependency to version 3.0.4 to match what test/Makefile
    selects. Later versions do not work so well on OS X Mavericks.
    authored

Mar 14, 2014

  1. Steve Vinoski

    fix #172: make yaws_ticker handle EXIT messages correctly

    The yaws_ticker processes were not cleaned up due to an incorrect EXIT
    message receive spec. Thanks to Nico Kruber for reporting the problem, and
    for supplying a new regression test case which is now in the test/eunit
    directory.
    authored

Mar 12, 2014

  1. Steve Vinoski

    add virtual server redirect conf example to redirect.yaws

    authored
  2. Steve Vinoski

    change "rscheme" to "rmethod" in the docs

    authored

Mar 10, 2014

  1. Steve Vinoski

    handle filename encodings properly in dir listings

    authored

Feb 26, 2014

  1. Christopher Faulet

    Adjust line numbers in known_dialyzer_warnings file

    authored
  2. Christopher Faulet

    Respect virtual hosts order when the configuration is reloaded

    During a reload, when a virtual host is added or updated, it must be at the same
    position than in the configuration file. With this fix, it is possible to
    reorder virtual hosts, or add new ones at any position.
    authored
  3. Christopher Faulet

    Clean up the parsing of the ssl configuration

    authored
  4. Christopher Faulet

    Add 'secure_renegotiate' option in ssl part

    This option can be used to set to true/false the 'secure_renegotiate' parameter
    on the ssl socket.
    authored

Feb 25, 2014

  1. Steve Vinoski

    dialyzer updates

    Fix a dialyzer problem in yaws.erl and update the known_dialyzer_warnings
    file.
    authored

Feb 24, 2014

  1. Steve Vinoski

    replace charset.def with generated yaws_charset.hrl

    Richard Carlsson pointed out in a private email that having configure
    generate the priv/charset.def file to be read and interpreted by
    src/mime_type_c.erl was overly complicated.
    
    Modify configure script and rebar.config.script to instead generate
    src/yaws_charset.hrl, and include that into src/mime_type_c.erl. Thanks to
    Richard for suggesting these simplifications.
    
    Also, enhance rebar.config.script to be able to extract the desired charset
    from the YAWS_CHARSET OS environment variable if set, thus providing rebar
    users a way to set the charset, which they couldn't do before.
    
    Fix test/t2/app_test.erl to not fail on Content-Type header tests if the
    header value contains a charset specification.
    authored

Feb 06, 2014

  1. Steve Vinoski

    use ibrowse v3.0.4 for testing

    On OS X (and perhaps elsewhere too) there were tons of false errors in the
    test output, all coming from the ibrowse client complaining about closed
    connections. This made it impossible to know whether the tests were
    actually working or not. Instead of using ibrowse master, pin the version
    the yaws tests use to 3.0.4, which doesn't exhibit this problem.
    authored

Feb 04, 2014

  1. Steve Vinoski

    fix #168 by checking for pam headers and library

    Make configure script check for the pam_appl.h header in multiple
    directories, and add the directory in which it's found to CFLAGS. Ensure
    the checking takes EXTRAINCLUDE settings into account. Remove
    specifications of the /usr/include/pam include path from CFLAGS in the
    configure script, and also from c_src/Makefile, as it's no longer necessary
    to specify that path explicitly. Add EXTRAINCLUDE to CFLAGS and CPPFLAGS
    when pam is enabled (note that adding it to CPPFLAGS is needed so the new
    configure checking for pam_appl.h works correctly), and remove the addition
    of EXTRAINCLUDE to CFLAGS in c_src/Makefile. Add check for pam library. Fix
    checking of the --disable-pam configure option.
    
    Thanks to Antoine Catton for starting the work on these changes.
    authored

Jan 17, 2014

  1. Steve Vinoski

    combine multiple Accept-Encoding headers

    According to HTTP 1.1 section 4.2, a receiver may combine multiple
    instances of any header whose value can be a comma-separated list, which
    applies to the case of receiving multiple Accept-Encoding headers. HTTPbis
    in section 3.2.2 keeps the same rule. Yaws was using only the first such
    header and ignoring any others, but should instead be combining the
    multiple Accept-Encoding headers into one before processing the combined
    value. This commit fixes that and adds a new test case for it.
    authored

Jan 07, 2014

  1. Steve Vinoski

    add Resources section to Yaws web pages

    Add a Resources section to the Yaws web pages, where pointers/links to
    external articles, presentations etc. about Yaws can be provided.
    authored

Dec 31, 2013

  1. Steve Vinoski

    fix error in code example in Yaws PDF doc

    authored

Dec 23, 2013

  1. Steve Vinoski

    add some embedded config details to embed.yaws

    authored

Dec 19, 2013

  1. Steve Vinoski

    exclude ibrowse dialyzer build for testing

    authored
  2. Ramón Lastres

    Change binary conversion function in yaws_rpc in order to deal with u…

    …nicode characters
    authored vinoski committed

Dec 18, 2013

  1. Steve Vinoski

    minor edit of www/configuration.yaws

    authored

Dec 17, 2013

  1. Claes Wikstrom

    Inefficient handling of the message queue and selective receive for u…

    …ntimed_stream_loop_send fixed by Martin Bjorklund.
    authored

Nov 19, 2013

  1. Claes Wikstrom

    proper include statement in yaws_stats.hrl that includes relative ins…

    …tead on relying on flags to erlc to find the included file
    authored

Nov 10, 2013

  1. Steve Vinoski

    update cookie documentation

    Documentation for cookies used the old yaws_api:setcookie functions, which
    are deprecated. Change the docs to use yaws_api:set_cookie/3 instead. Also
    add a little more detail to cookies.yaws regarding how
    yaws_api:set_cookie/3 is used and what it returns.
    authored
  2. Steve Vinoski

    replace now() with os:timestamp() in some places

    The now() call requires global locking to ensure monotonicity, so replace
    some calls to now() with calls to os:timestamp() where monotonicity isn't
    required. There are probably other such calls in other modules that can be
    similarly replaced.
    
    Calculate size of data sent only when stats requires it.
    authored

Nov 08, 2013

  1. Steve Vinoski

    allow embedded listen IPs to be supplied as either lists or tuples

    authored
  2. Steve Vinoski

    fix broken srcdir tests

    Commit a04e38a fixed building the tests with rebar, but broke the
    test/t11/srcdir tests when built and run with make. This commit reworks the
    approach to allow the tests to run correctly and also build correctly with
    rebar.
    authored
Something went wrong with that request. Please try again.