Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 27, 2015
  1. @capflam
  2. Include URL to travis

    Klacke authored
Commits on Aug 26, 2015
  1. @capflam
  2. @capflam
  3. @capflam

    Fix some small bugs in Makefiles

    capflam authored
    * 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
  4. @capflam

    Retrieve debug env variable before creating the global config record

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

    Add new test t13 for max_connections fixes

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

    Catch a einval badmatch triggered by yaws:setopts/3

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

    Always decrement the connection counter when a request crashes. Fixes #…

    Andrei Neculau authored vinoski committed
Commits on Aug 24, 2015
  1. @capflam

    Merge pull request #236 from phonohawk/issue-232

    capflam authored
    Revert "Fix HTTP authentication when user-defined module is used"
  2. @vinoski

    Documentation changes

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

    use only size and mtime for generating etags

    andreineculau authored vinoski committed
  4. @vinoski
Commits on Aug 23, 2015
  1. @leoliu @vinoski

    Support the SSL server option client_renegotiation

    leoliu authored vinoski committed
    This option is new with Erlang/OTP 18.0, so it's ignored for older
    versions.
  2. @vinoski

    Fix intermittent websocket test failure

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

    Fix yaws_vdir.erl include directive

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

    Add yaws_api:websocket_close/1,2

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

    add check for have_sendfile

    andreineculau authored vinoski committed
  6. @andreineculau @vinoski

    added cast to prevent solaris warnings

    andreineculau authored vinoski committed
Commits on Aug 22, 2015
  1. @vinoski

    fix typos in yaws.tex

    vinoski authored
  2. @toraritte @vinoski

    Fix typos

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

    Revert "Fix HTTP authentication when user-defined module is used"

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

    authored
    UTF-8 fix for www/yman.yaws and served man pages
Commits on Aug 16, 2015
  1. @toraritte

    UTF-8 fix for www/yman.yaws and served man pages

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

    Merge pull request #233 from toraritte/patch-1

    vinoski authored
    Fix typos in www/appmod.yaws
  2. @toraritte

    Fix typos in www/appmod.yaws

    toraritte authored
Commits on Aug 9, 2015
  1. @evbogdanov @vinoski

    Add support for binary and unicode FCGI params

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

    New ssl option for yaws.conf: dhfile

    phonohawk authored vinoski committed
    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 authored
    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 authored
  2. Yaws 2.0 release work

    Klacke authored
  3. @vinoski
Commits on Jul 11, 2015
  1. @vinoski

    Fix Yaws build for Erlang 18.0

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

    Merge pull request #223 from zephyrean/master

    vinoski authored
    Fix a bug where decoding of haxe string depended upon completely irrelevant native file system encoding
Commits on Jun 4, 2015
  1. @zephyrean

    fix a bug where decoding of haxe string depended upon completely irre…

    zephyrean authored
    …levant native file system encoding
Something went wrong with that request. Please try again.