Permalink
Commits on Aug 27, 2015
  1. Fix link of the travis status image in README.md

    capflam committed Aug 27, 2015
    [ci skip]
  2. Include URL to travis

    Klacke
    Klacke committed Aug 27, 2015
Commits on Aug 26, 2015
  1. Fix some small bugs in Makefiles

    capflam committed Aug 26, 2015
    * src/Makefile.am: yaws.erl is used to generate mime_types.erl so it must be
      compiled first.
    
    * test/t12/Makefile.am: Add missing file in EXTRA_DIST
  2. Retrieve debug env variable before creating the global config record

    capflam committed Aug 26, 2015
    This is required to set cache_refresh_secs to 0 when debug is set to true and
    when Yaws is started in embedded mode. Fixes #221.
  3. Add new test t13 for max_connections fixes

    vinoski committed Aug 26, 2015
    Added test/t13 rather than fitting the test into an existing test
    directory because max_connections is a global setting in yaws.conf,
    and so it would affect all other tests in the same directory.
  4. Catch a einval badmatch triggered by yaws:setopts/3

    Andrei Neculau authored and vinoski committed May 21, 2015
    inet/ssl:setopts would return {error, einval} when the socket is closed.
    This can be noticed by setting max_connections to a low-enough level.
  5. Always decrement the connection counter when a request crashes. Fixes #…

    Andrei Neculau authored and vinoski committed May 21, 2015
Commits on Aug 24, 2015
  1. Merge pull request #236 from phonohawk/issue-232

    capflam committed Aug 24, 2015
    Revert "Fix HTTP authentication when user-defined module is used"
  2. Documentation changes

    vinoski committed Aug 24, 2015
    Remove obsolete note about future work in yapp intro. Update minimum
    Erlang/OTP release from R8 to R14B02 and do some minor rewording of a
    warning in yaws.tex.
Commits on Aug 23, 2015
  1. Support the SSL server option client_renegotiation

    leoliu authored and vinoski committed Jul 3, 2015
    This option is new with Erlang/OTP 18.0, so it's ignored for older
    versions.
  2. Fix intermittent websocket test failure

    vinoski committed Aug 23, 2015
    The "too big message" test was failing intermittently due to what
    looks like a race condition on which end was closing the socket
    first because of the illegal message size.
  3. Fix yaws_vdir.erl include directive

    vinoski committed Aug 23, 2015
    Recent versions of rebar were correctly unhappy with a malformed
    include_lib in yaws_vdir.erl. Looks like this file was missed in a
    previous edit to fix this problem. Changed to a regular include
    instead, matching other source files.
  4. Add yaws_api:websocket_close/1,2

    surik authored and vinoski committed Apr 8, 2015
    Add API for closing a websocket. Add underlying implementation
    yaws_websockets:close/2.
    
    Also fixed some minor typos and indentation problems in various
    websockets-related example files and docs.
  5. add check for have_sendfile

    andreineculau authored and vinoski committed Mar 18, 2015
Commits on Aug 22, 2015
  1. fix typos in yaws.tex

    vinoski committed Aug 22, 2015
  2. Fix typos

    toraritte authored and vinoski committed Aug 14, 2015
    Fix typos in in man/yaws.conf.5, and fix 2 news headers on index page
    (www/news) by removing 3 empty lines.
Commits on Aug 21, 2015
  1. Revert "Fix HTTP authentication when user-defined module is used"

    depressed-pho committed Aug 21, 2015
    This reverts commit 6cfcabd.
    
    After the said commit being introduced, user-defined authmod modules stopped working due to record type mismatch {badrecord,auth}. I edited the test t3 so that we can prevent this sort of error. This fixes #232.
Commits on Aug 17, 2015
  1. Merge pull request #234 from toraritte/yman-fix

    klacke committed Aug 17, 2015
    UTF-8 fix for www/yman.yaws and served man pages
Commits on Aug 16, 2015
  1. UTF-8 fix for www/yman.yaws and served man pages

    toraritte committed Aug 16, 2015
    Yaws built with autotools or rebar would crash while trying to
    serve man pages if os:cmd/1 returned utf-8 encoded strings.
    
    - www/yman.yaws
    Using unicode:characters_to_binary/1 for correct encoding
    Issue klacke#212 solves
    this in a similar way.
    
    - www/TAB.inc
    Changed charset to utf-8 in <head> to handle splitting
    long words in line boundary ("â€" => "-").
    
    As far as I know unicode:characters_to_binary(Data) wouldn't
    be a problem even if the input is in latin1 because according
    to the doc:
    Data = latin1_chardata() | chardata() | external_chardata()
    
    ISO-8859-1 is also compatible with UTF-8 therefore changing
    the charset shouldn't be the problem either.
Commits on Aug 14, 2015
  1. Merge pull request #233 from toraritte/patch-1

    vinoski committed Aug 14, 2015
    Fix typos in www/appmod.yaws
Commits on Aug 9, 2015
  1. Add support for binary and unicode FCGI params

    Ev Bogdanov authored and vinoski committed Aug 2, 2015
    Allow names and values in FCGI extra_env parameter lists to be either
    lists or binaries, and handle them properly as unicode as well. Fix
    the documentation for extra_env in yaws_api.5. Change the comment
    describing extra_env in yaws_api.erl to note that binaries are allowed
    too.
Commits on Aug 5, 2015
  1. New ssl option for yaws.conf: dhfile

    depressed-pho authored and vinoski committed Aug 3, 2015
    A fixed 1024-bit Diffie-Hellman group can no longer be considered to
    be safe (*1). Add the dhfile option (*2) to yaws.conf.
    
    *1: https://weakdh.org/sysadmin.html
    *2: http://www.erlang.org/doc/man/ssl.html
Commits on Jul 17, 2015
  1. crashmsg too silent

    Klacke
    Klacke committed Jul 17, 2015
    We should always write crash messages to the error log.
Commits on Jul 13, 2015
  1. Add quotes to Makefile.am when building rels

    Klacke
    Klacke committed Jul 13, 2015
  2. Yaws 2.0 release work

    Klacke
    Klacke committed Jul 13, 2015
Commits on Jul 11, 2015
  1. Fix Yaws build for Erlang 18.0

    vinoski committed Jul 11, 2015
    Erlang 18.0 deprecated erlang:now/0 and this was causing compilation
    errors for Yaws. Add new portability functions to the yaws module:
    yaws:unique_triple() returns a unique 3-tuple of positive integers,
    and yaws:get_time_tuple() returns the current time in the same 3-tuple
    format as erlang:now(). Fix all Yaws modules as needed to call these
    functions as appropriate instead of calling erlang:now(). Add support
    to configure.ac, include.mk, and rebar.config.script such that these
    portability functions are correctly conditionally compiled depending
    on the Erlang erts version in use.
Commits on Jun 5, 2015
  1. Merge pull request #223 from zephyrean/master

    vinoski committed Jun 5, 2015
    Fix a bug where decoding of haxe string depended upon completely irrelevant native file system encoding
Commits on Jun 4, 2015
  1. fix a bug where decoding of haxe string depended upon completely irre…

    zephyrean committed Jun 4, 2015
    …levant native file system encoding