Skip to content
Commits on Apr 29, 2016
  1. @leoliu @vinoski
Commits on Apr 28, 2016
  1. Password can contain colon fixed.

    Klacke Wikstrom committed Apr 28, 2016
    Issue reported in #267
Commits on Apr 27, 2016
  1. Merge pull request #266 from matthiasl/ml_docfixes

    committed Apr 27, 2016
    Ml docfixes
  2. Fix incomplete and outdated documentation of .yaws_auth

    Matthias Lang committed Apr 27, 2016
    Previously, the yaws documentation recommended storing username/password
    pairs in .yaws_auth, in the docroot. This is a bad idea because it can
    result in exposing plaintext username/password via editor backup files.
    Previously, the yaws documentation was missing documentation for the
    realm, pam, authmod, file, allow, deny and order directives in .yaws_auth.
Commits on Apr 22, 2016
  1. @leoliu @vinoski
Commits on Apr 13, 2016
  1. @capflam

    Use id to build the command line in the windows startup script

    capflam committed Apr 5, 2016
    This fixes a warning about an unused variable.
  2. @capflam

    Do not use erlang:now/0 anymore in Yaws applications

    capflam committed Apr 5, 2016
    erlang:now/1 was deprecated in Erlang/OTP 18.0. We rely on yaws:get_time_tuple/0
  3. @capflam
  4. @capflam

    Move Erlang compatibily checks from the configure to a module

    capflam committed Apr 1, 2016
    Now, the new module yaws_dynopts does all tests on the Erlang/OTP release that
    were done before in the configure. So it is possible to compile Yaws with an
    Erlang/OTP release and run it with another, all features should be dynamically
    Because these checks can be expensive, when Yaws is started, we generate and
    compile a static version of yaws_dynopts.
  5. @capflam
  6. @capflam

    Remove doc about deprecated values for the SSL option 'verify'

    capflam committed Mar 31, 2016
    In the old SSL implentation, 0,1 and 2 were the possible values for the 'verify'
    option. For the new one, only verify_peer and verify_none are officialy
    supported and documentated. Old values are still supported for backward
    compatiliby, but not documented.
    We do the same in Yaws. Old values are translated into new ones. So if their
    support is removed from the SSL application in a futur Erlang/OTP release, Yaws
    will still work. Documentation has been updated to remove info about the old
  7. @capflam

    Remove very old use_old_ssl directive

    capflam committed Mar 31, 2016
    This directive was added to use old SSL implementation. It was removed in
    Erlang/OTP R15. So, because Yaws works with releases upper to R14B02, this
    option is only supported with Erlang/OTP R14B02, R14B03 and R14B04. For all
    other supported releases, Yaws will fails is use_old_ssl is set to true.
    To be honest, if you use SSL in Yaws, you'd better upgrade your Erlang/OTP
    release. The new SSL implementation is far better than the old one and many bugs
    are fixed in recent releases.
  8. @capflam

    Add SNI support

    capflam committed Mar 31, 2016
    SSL application supports SNI since Erlang/OTP 18.0. With this patch, when SNI is
    available, Yaws is able tohandle SNI clients if it is configured to do it.
    To configure SNI, 2 new directives has been added:
     * sni: this global directive can be use to enable SNI or explicitly disable
       it. By default SNI support is disabled. It can also be used to globally
       refuse non SNI clients or not.
     * require_sni: this server directive can be used to reject non SNI clients and
       clients providing an unknown SNI hostname for a specific server.
    See man/yaws.conf.5 for details.
    Documentation has been updated and a testsuite has been added.
  9. @capflam
  10. @capflam
  11. @capflam

    Unlink the stat process before stopping it to not receive 'EXIT' message

    capflam committed Apr 13, 2016
    This message was wrongly associated to the death of an acceptor. So the sessions
    counter was wrongly decremented. Instead of checking the Pid in 'EXIT' messages
    (costly), we unlink the stat process.
Commits on Apr 1, 2016
  1. @vinoski

    Merge pull request #259 from leoliu/master

    vinoski committed Mar 31, 2016
    Fix coding cookies in a few files
  2. @leoliu

    Fix coding cookies in a few files

    leoliu committed Apr 1, 2016
    Coding Latin-1 (with capital `L') is not recognized by Emacs.
Commits on Mar 30, 2016
  1. @vinoski

    Merge pull request #258 from choptastic/patch-1

    vinoski committed Mar 29, 2016
    Remove "endpoint gone away" message
  2. @choptastic

    Remove "endpoint gone away" message

    choptastic committed Mar 29, 2016
    When a websocket ping isn't ponged, yaws currently generates an "endpoint gone away" message. It seems kind of unnecessary to spam the error logger with it. Thoughts?
Commits on Mar 26, 2016
  1. @vinoski

    Fix #257: docs for compression_level config setting

    vinoski committed Mar 26, 2016
    Fix the compression_level config setting documentation, which
    incorrectly showed the name of the setting as compress_level. Thanks
    to Sergei Golovan for reporting this.
Commits on Mar 24, 2016
  1. @vinoski

    Fix --ctltrace message about output file

    vinoski committed Mar 23, 2016
    Running "yaws --ctltrace" previously printed a message saying output
    was being sent to a particular file, but the output was actually sent
    elsewhere. Modify the message to instead point the user to the
    directory where trace output will be sent.
    Thanks to Leo Liu for reporting this.
Commits on Mar 22, 2016
  1. @vinoski

    Use inet_parse:ntoa/1 in yaws_ctl to format IP addrs

    vinoski committed Mar 22, 2016
    Instead of using ad hoc code use inet_parse:ntoa/1 to parse IP
    addresses for status output. Note that we have to use
    inet_parse:ntoa/1 rather than inet:ntoa/1, since the latter is not
    available in older Erlang/OTP releases.
  2. @vinoski

    Improve yaws script argument checking

    vinoski committed Mar 22, 2016
    Check for required arguments for some yaws script options and print
    help and exit if the arguments are missing. Previously the script
    would just assume the arguments were present, which would cause Erlang
    crash dumps in some cases.
Commits on Mar 18, 2016
  1. @vinoski
Commits on Mar 7, 2016
  1. @andreineculau
Commits on Mar 2, 2016
  1. @vinoski

    Merge pull request #255 from richcarl/load-with-empty-beam-path

    vinoski committed Mar 2, 2016
    Load generated modules with empty path to beam file
  2. Load generated modules with empty path to beam file

    Richard Carlsson committed Mar 2, 2016
    Some tools will behave incorrectly if the beam file path reported by the
    code server points to an existing file which isn't actually a beam file.
    Leaving it empty signals that the code cannot be found on disk.
Commits on Feb 24, 2016
  1. @vinoski

    Fix ybed embedded supervision example

    vinoski committed Feb 24, 2016
    Modify the code for the ybed supervision example to link the ybed
    child to its supervisor, specify the temporary restart strategy for
    that child, and have the child exit normally after it starts the
    necessary Yaws children in its supervisor. We use temporary rather
    than permanent because the child needs to run only once, whenever the
    supervisor starts.
    Thanks to Lyn Headley for tracking down these issues and suggesting
    the fixes described here.
Commits on Feb 19, 2016
  1. @vinoski

    Fix trace log not catching the first request (refactoring)

    Andrei Neculau committed with vinoski Feb 19, 2016
  2. When using yaws in embedded mode, the api yaws_config:hard_setconf/2

    Klacke Wikstrom committed Feb 19, 2016
    configured the optional tracing after the virt server was configured.
    This lead to a bug where the first accept() call didn't end up in the
    trace log, subsequent accept() calls did though.
Commits on Jan 12, 2016
  1. @stuart-thackray @vinoski
Commits on Jan 3, 2016
  1. @vinoski
Commits on Dec 18, 2015
  1. @vinoski

    Merge pull request #250 from klacke/log-init

    vinoski committed Dec 18, 2015
    Set up log event handler earlier at startup
Something went wrong with that request. Please try again.