Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 22, 2014
  1. Christopher Faulet
  2. Christopher Faulet
  3. Christopher Faulet
  4. Christopher Faulet

    Add 'honor_cipher_order' option in ssl part

    capflam authored
    This option can be used to set to true/false the 'honor_cipher_order' parameter
    on the ssl socket. This option was introduced in SSL application in Erlang/OTP
    17.0, so it will be ignored by Yaws for previous releases. When supported, this
    option is set by default to true.
  5. Claes Wikstrom

    Merge branch 'klacke-yaws-log-fd-leak'

    klacke authored
    Fd leak
  6. Claes Wikstrom

    Reloading the log could lead to an fd leak in the

    klacke authored
    case where we were having two servers on the same port,
    i.e both http and https
Commits on Sep 15, 2014
  1. Steve Vinoski

    Fix yaws_sendfile to correctly handle non-latin1 filenames

    vinoski authored
    Fix a problem where a filename containing Chinese characters would cause
    yaws_sendfile to die in a list_to_binary call.
Commits on Sep 10, 2014
  1. Steve Vinoski

    Exclude hipe application in reltool.config

    vinoski authored
    Several users have reported problems building releases using
    rel/reltool.config due to problems with hipe, so extend reltool.config to
    exclude hipe.
  2. Steve Vinoski
  3. Steve Vinoski
Commits on Aug 27, 2014
  1. Steve Vinoski

    Merge pull request #183 from weisslj/ehtml-attribute-fixes

    vinoski authored
    EHTML: Fix small bug, allow binary attribute values and update documentation
Commits on Aug 26, 2014
  1. Steve Vinoski

    Merge pull request #184 from weisslj/fix-build-without-pam

    vinoski authored
    Fix building without PAM (and small typo in configure help)
  2. weisslj
  3. weisslj

    Fix building without PAM

    weisslj authored
    Fixes this error in `make`:
        /usr/bin/install: cannot stat ‘epam’: No such file or directory
        make[1]: *** [post-build] Error 1
Commits on Aug 25, 2014
  1. weisslj
  2. weisslj

    yaws_api: Allow binary attribute values in ehtml

    weisslj authored
    Binary attribute values are already supported in exhtml.
  3. weisslj

    yaws_api: Fix ehtml {check, _, number()} attributes

    weisslj authored
    Attribute {check, Key, 10} should expand the same way as {Key, 10}.
  4. weisslj
Commits on Aug 20, 2014
  1. weisslj

    yaws_api: Make end tags HTML5-compatible in ehtml_expand

    weisslj authored
    Currently, HTML generated by Yaws ehtml does not validate correctly as
    HTML5 (e.g. using The reason is that in HTML5
    "void elements" like <br> must not have a closing end tag:
    Forbidden: <br></br>
    Allowed: <br>
    Allowed (and also valid XHTML): <br />
    Also, since the self-closing tag syntax ("/>") is simply ignored in
    HTML5, some elements must have an end tag:
    Forbidden: <p />
    Allowed: <p></p>
    This patch fixes both issues and also adds tests.
Commits on Jul 24, 2014
  1. Christopher Faulet

    Use iolist_to_binary/iolist_size instead of custom functions

    capflam authored
    And avoid some useless conversions
Commits on Jul 23, 2014
  1. Steve Vinoski

    Merge pull request #180 from yakaz/fix-contenttype-matching-in-yaws_api

    vinoski authored
    yaws_api: Fix matching of Content-Type in `parse_post/1`
  2. Jean-Sébastien Pédron

    yaws_api: Fix matching of Content-Type in parse_post/1

    dumbbell authored
    "application/x-www-form-urlencoded" can be followed by attributes, such
    as "; charset=UTF-8".
Commits on Jul 21, 2014
  1. Christopher Faulet

    Update known dialyzer warnings

    capflam authored
  2. Christopher Faulet

    Split content data of FCGI records to be compliant with the spec

    capflam authored
    According to the FCGI specification, the size of the content data should be
    lesser or equal to 65535.
    See for details.
Commits on Jul 10, 2014
  1. Christopher Faulet

    Remove support of wildcards for R15B03 and previous

    capflam authored
    A bug in filelib:wildcard/1,2 was fixed in R16B:
    So, wildcard strings in the configuration file are now forbidden for older
  2. Christopher Faulet
  3. Christopher Faulet

    Add support of wildcards and relative paths to load sub-config files.

    capflam authored
    Now, subconfig and subconfigdir targets accept relative paths, searched
    relatively to the configuration location. So for the configuration
    "/etc/yaws/yaws.conf", all relative files and directories will be searched from
    "/etc/yaws". Of course, absolute paths are always supported.
    furthermore, the subconfig target can take Unix-style wildcard strings to
    include several files at once. See filelib:wildcard/1 for details.
    Last, hidden files, starting by a dot, will be ignored in any cases.
  4. Christopher Faulet

    Check #deflate.min_compress_size option for large files

    capflam authored
    Now large files are compressed only if their size is greater than
    the #deflate.min_compress_size option.
  5. Christopher Faulet

    Relax rules that allow the parsing of a query string or an urlencoded…

    capflam authored
    … body
    The parsing of a query string or an urlencoded body was allowed, respectively,
    for 'GET' or 'POST' requests. Now, this can be done for any kind of requests. Of
    course, a body is parsed only if its Content-Type is set to
    In the same way, a body can now be parsed as a multipart content if its
    Content-Type is set to 'multipart/form-data', regardless of the request type.
    As a consequence of these changes, yaws_api:getvar/2 now returns the merged
    result of values found in the query string and in the urlencoded body (if any).
Commits on Jul 7, 2014
  1. Christopher Faulet
  2. Christopher Faulet

    Add systemd service script and fix other init scripts

    capflam authored
    Other changes:
     * Replace README by
     * Add travis configuration
     * Fix testsuite and dependencies detection
  3. Christopher Faulet

    Handle a bug in unicode module in releases R14B04 and previous

    capflam authored
    The code points 16#FFFE and 16#FFFF (not assigned but valid) are considered as
    invalid in releases R14B04 and previous. So for these releases, the websockets
    testsuite always failed. This commit worked around the bug.
    It was fixed in OTP with the commit 34db767655:
  4. Christopher Faulet
  5. Christopher Faulet

    Do not set recbuf by default on listening sockets

    capflam authored
    This patch removes a bug I experienced on FreeBSD during tests on the loopback
    interface because of its MTU. So, I don't really know why that happens on
    FreeBSD and not on Linux, but because loopback MTU is greater than the recbuf
    value (16K on loopback vs 8k in Yaws), if a client sends data, Yaws will read
    them very slowly.
    Furthermore, there is no good reason to tweak this value by default. And, if
    required, it is always possible to configure it.
  6. Christopher Faulet

    Fix a backward compatibility bug with inet:parse_strict_address/1

    capflam authored
    inet:parse_strict_address/1 was introduced in R16. For previous releases, we
    need to rely on inet_parse:ipv4strict_address/1 and
    inet_parse:ipv6strict_address/1 functions.
Something went wrong with that request. Please try again.