Permalink
Commits on Jun 5, 2011
Commits on Jun 2, 2011
  1. fixes for json2.erl and json.erl (Nico Kruber)

    vinoski committed Jun 2, 2011
    Implement more precise floating point number conversions -- avoid
    converting via io_lib:format/2 by using erlang:float_to_list/1. Fix
    encoding lists of (small) floats (json.erl mistakenly tried to convert
    them to strings). Fix/add encoding of lists to {array, List}. Handle
    unicode in object keys.
Commits on Jun 1, 2011
  1. remove leftover dbg statements

    vinoski committed Jun 1, 2011
  2. quiet test messages for stopping yaws

    vinoski committed Jun 1, 2011
    A recent change added extra stop calls for yaws to prevent problems
    caused by yaws instances being left over from previous test runs. But
    if yaws isn't running, these messages were emitting misleading error
    messages. These are now redirected to /dev/null.
  3. restore removed jsonrpc:call/3

    vinoski committed Jun 1, 2011
    Restore the jsonrpc:call/3 function inadvertently removed in the
    JSON-RPC 2.0 update. Add a new test for it. Remove test/src/httpc.erl
    because it conflicted with inets:httpc during the execution of the new
    test, and also because it's not used anywhere.
Commits on May 31, 2011
  1. use {wordsize, external} in configure script

    vinoski committed May 31, 2011
    To properly check to see whether the Erlang emulator is 32-bit or
    64-bit in the configure script, call erlang:system_info with the
    argument {wordsize, external} instead of just wordsize. The latter
    reveals only the internal word size, which happened to work previously
    (and is the only option for older versions of Erlang) but doesn't work
    for halfword emulators. Fallback to an argument of just wordsize for
    older versions of Erlang.
Commits on May 28, 2011
  1. add a test for request shaping

    capflam committed with vinoski May 27, 2011
  2. add tests for argument rewriting

    capflam committed with vinoski May 27, 2011
  3. fix filter_auths function

    capflam committed with vinoski May 27, 2011
  4. fix get_chunked_client_data function

    capflam committed with vinoski May 26, 2011
    When the size of a chunk is a multiple of partial_post_size, last CRLF of
    the chunk was not eaten.
  5. do not accumulate empty content

    capflam committed with vinoski May 27, 2011
    When a module used to rewrite arg records returns an HTTP response,
    as a #rewrite_response{} record, if the content of this response is
    empty, it must not be accumulated.
Commits on May 25, 2011
  1. increase default maximum wait-started time

    vinoski committed May 25, 2011
    Increase the default maximum time for the yaws --wait-started option
    from 6 seconds to 30 seconds. The test suite was seeing random
    failures due to 6 second wait not being enough. (The option doesn't
    mean it waits for 30 seconds every time, just that it will wait for a
    maximum of 30 seconds for yaws with the specified id to start.)
  2. minor corrections to news file

    vinoski committed May 25, 2011
  3. correct handling of delayed requests (Christopher Faulet)

    vinoski committed May 25, 2011
    Correction for one of the capflam patches that wasn't fully applied.
  4. contributor list additions, corrections, and sorting

    vinoski committed May 25, 2011
    Fix some misspellings in the www/contributors.txt list, add missing
    contributors mostly gleaned from eyeballing the old sourceforge svn
    repository, eliminate duplicates, and sort it alphabetically by
    surname it to make it easier to track.
Commits on May 24, 2011
  1. starting to prepare for 1.90

    klacke committed May 24, 2011
  2. starting to prepare for 1.90

    klacke committed May 24, 2011
  3. starting to prepare for 1.90

    klacke committed May 24, 2011
  4. dups

    klacke committed May 24, 2011
  5. fix server listen config initialization

    vinoski committed May 24, 2011
    One of the capflam contributions added the ability for a server config
    to have multiple listen directives. Part of the patch was to
    initialize the #sconf.listen field to the empty list when starting to
    parse a server config, but that was erroneously left out. Fixed.
  6. always store a tuple in #headers.authorization (capflam)

    dumbbell committed with vinoski May 20, 2011
    The function yaws:parse_auth/1 returned "undefined" if it couldn't
    parse the value of the "Authorization" header. In this case, we lost
    the original value of this header.
    
    Always store a tuple of the form "{User, Pass, Orig}" even if the
    value can't be parsed. In this case, "User" and "Pass" are set to
    "undefined".
    
    Also, export yaws:parse_auth/1 so that 3rd-party modules can set
  7. fix include of yaws_debug.hrl (capflam)

    dumbbell committed with vinoski May 20, 2011
    A couple files included yaws_debug.hrl with the following path:
    
      ../../yaws/src/yaws_debug.hrl
    
    This assumes the root directory is named "yaws". Also, the directory
    paths used are pointless since yaws_debug.hrl lives in the same
    directory as the source files including it, so they can just include
    it without specifying any preceding directory paths.
  8. improve daemon status output (capflam)

    capflam committed with vinoski May 3, 2011
    Improve the output of the "yaws --status" command by adding session
    and connection counters for each group of virtual servers.
  9. allow Server header customization (capflam)

    capflam committed with vinoski May 3, 2011
    Add the server_signature directive in the global part of configuration
    to allow users to customize the HTTP Server header.
  10. add shaper directive to control access (capflam)

    capflam committed with vinoski May 4, 2011
    inspired by the mod_bwshare module of Apache, add the shaper directive
    to control access to virtual servers. Access can be controlled based
    on the client's IP address. It is also possible to throttle HTTP
    requests based on the client's download rate. External modules used to
    shape the traffic must implement the new behaviour yaws_shaper.