Skip to content
Permalink
Branch: master
Commits on Mar 16, 2019
  1. Add Erlang/OTP 21.3 for Travis-CI

    vinoski committed Mar 16, 2019
Commits on Feb 23, 2019
  1. Fix #367: handle binary headers when deflate is on

    vinoski committed Feb 23, 2019
    Teach yaws:drop_spaces to handle binary headers.
    
    Add the binary_header appmod to deflate_SUITE and call it from the
    deflate_SUITE:deflate_options_mime_types/1 test as a regression test
    for issue #367.
Commits on Feb 16, 2019
  1. Drop yaws sendfile driver

    vinoski committed Feb 16, 2019
    Erlang/OTP 17 and newer provide working file:sendfile/2,5 support, and
    since 17 is currently the oldest version Yaws supports, remove the
    Yaws sendfile linked-in driver. Remove the HAVE_SENDFILE build flag
    for both automake and rebar.
    
    Drop "yaws" as a supported value for the large_file_sendfile
    configuration setting. Change the documentation to match.
  2. Fix #365: fix mistyped use of HAVE_START_ERROR_LOGGER

    vinoski committed Feb 16, 2019
Commits on Feb 14, 2019
  1. Fix #364: fix handling of MacOS xcrun

    vinoski committed Feb 14, 2019
    Fix rebar.config.script to execute xcrun only on MacOS. The previous
    code was not checking for the platform correctly, so even non-MacOS
    platforms were attempting to run xcrun.
    
    Remove the NEED_MACOS_SDK_DIR platform_define from rebar.config as
    it's no longer needed.
Commits on Feb 13, 2019
  1. Find /usr/include on MacOS

    vinoski committed Feb 13, 2019
    Add support for automake and rebar for finding the equivalent of
    /usr/include on MacOS versions that lack a normal /usr/include
    directory, such as Mojave. The support uses the xcrun and find
    commands to locate usr/include under the platform SDK directory.
Commits on Feb 10, 2019
  1. Stop using -import

    vinoski committed Feb 10, 2019
    The -import statements weren't helpful, so get rid of them and use
    normal module-qualified calls instead.
    
    Fix the known dialyzer warnings file to account for changed line
    numbers.
  2. Fix #322: Return multipart upload file path for errors

    nayibor authored and vinoski committed Mar 6, 2018
    Add the return_error_file_path option for the function
    yaws_multipart:read_multipart_form/2. When this option is supplied,
    Yaws returns the path of the temporary upload file as part of an error
    tuple if errors occur when opening or writing the file, or if the
    upload size exceeds the maximum upload file size specified with the
    max_file_size option. This allows the caller to delete the temporary
    file or perform other custom cleanup.
    
    Always return a tuple as the second element of the error tuple
    returned from yaws_multipart:read_multipart_form/2 to allow the temp
    upload file path to be returned when requested.
    
    Add a description for return_error_file_path to the Yaws documentation.
    
    Add a new unit test for return_error_file_path.
Commits on Feb 4, 2019
  1. Drop support for Erlang/OTP R16

    vinoski committed Feb 4, 2019
    Yaws generally supports the five most recent major versions of
    Erlang/OTP, so drop R16 since Erlang 21 has been out for awhile.
  2. Fix #361: fix inconsistency with log_wrap_size

    vinoski committed Feb 4, 2019
    Modify yaws.hrl to make the default log_wrap_size match the default
    configuration value and the documentation.
    
    Update the gconf and sconf records in www/internals.yaws.
    
    Fix a typo in the log_wrap_size docuemntation in yaws.tex.
Commits on Jan 31, 2019
  1. Fix #360: yaws:split_sep/2 never returns false

    vinoski committed Jan 31, 2019
    Fix handling of yaws:split_sep/2 return value in
    yaws:make_expires_header/2.
    
    Update the known_dialyzer_warnings file to remove the now-fixed
    warning that was present for the yaws:make_expires_header/2 issue, and
    to update line numbers for some other known warnings.
Commits on Jan 26, 2019
  1. Fix #359: handle compile:file/2 errors correctly

    vinoski committed Jan 26, 2019
    Should compile:file/2 fail, log all errors.
Commits on Jan 20, 2019
  1. Handle requests with multiple Accept headers

    Per Andersson authored and vinoski committed Nov 10, 2017
    Transform multiple Accept headers in a request into a comma-separated
    list, as allowed by RFC 7230 "HTTP/1.1 Message Syntax and Routing",
    Section 3.2.2 Field Order, which states that a server MAY combine
    multiple header fields with the same name into a comma-separated list
    without changing the request semantics.
Commits on Jan 19, 2019
  1. Add support for eccs SSL option (Elliptic Curve Cryptography)

    Nico authored and vinoski committed Jan 18, 2019
    This support is necessary for PCI DSS compliance.
Commits on Jan 1, 2019
  1. Add Erlang/OTP 21.1 and 21.2 for Travis-CI

    vinoski committed Jan 1, 2019
Commits on Dec 10, 2018
  1. Fix #352: serialize outh.accept_ranges field

    vinoski committed Dec 10, 2018
    Add a new unit test for accept_ranges to return both atom form and
    string form for the header and verify the presence of "Accept-Ranges"
    in the response.
Commits on Dec 9, 2018
  1. Fix #352: add special treatment for accept_ranges

    vinoski committed Dec 9, 2018
    Add special treatment for the atom accept_ranges in output header
    specifications for setting the standard "Accept-Ranges" header. Add
    accept_ranges to the documentation.
Commits on Nov 30, 2018
  1. Fix #350: remove -author from yaws_api.hrl

    vinoski committed Nov 30, 2018
    Remove the -author directive since it could set the author for any
    module including yaws_api.hrl.
Commits on Nov 21, 2018
  1. Remove version attribute from yaws_api:set_cookie/3

    leoliu authored and vinoski committed Nov 20, 2018
    The `Version` cookie attribute no longer appears in RFC 6265.
    
    Fixes #330.
Commits on Nov 20, 2018
  1. Fix #345: add accessor for #ysession.opaque

    vinoski committed Nov 20, 2018
Commits on Nov 19, 2018
  1. Fix #348: improve reformat_header for {multi, ...}

    vinoski committed Nov 19, 2018
    Passing headers containing a {multi, ValueList} to
    yaws_api:reformat_header/1 now returns a flattened list of header
    strings. Previously it would nest a list of header strings for the
    multi list within the overall header list.
    
    Add a new unit test for reformat_header to ensure it properly flattens
    any {multi, ValueList} headers, and to also ensure that existing
    user-defined formatting functions still work correctly.
    
    Modify the yaws_api.5 man page to clarify how FormatFun functions
    should handle formatting for {multi, ValueList} headers.
Commits on Nov 16, 2018
  1. Merge pull request #347 from leoliu/master

    klacke committed Nov 16, 2018
    Add 103 from RFC 8297 to yaws_api:code_to_phrase/1
  2. Add 103 from RFC 8297 to yaws_api:code_to_phrase/1

    leoliu committed Nov 16, 2018
Commits on Aug 19, 2018
  1. Minor tweak to configure --disable-pam handling

    vinoski committed Aug 19, 2018
    Simplify the logic for handling --disable-pam.
    
    Also add a note to the README explaining that it can help on MacOS and
    OS X to run xcode-select to ensure command-line tools and the
    development environment are set up properly.
Commits on Jul 1, 2018
  1. Fix #340: fix exception handling in deliver_dyn_part/8

    vinoski committed Jul 1, 2018
    Use the MAKE_ST macro within the try/catch in deliver_dyn_part/8 so
    that the stacktrace is portably and correctly retrieved.
Commits on Jun 26, 2018
  1. Removed the windows build from the release script

    Klacke Wikstrom
    Klacke Wikstrom committed Jun 26, 2018
  2. Bumped version to 2.0.6

    Klacke Wikstrom
    Klacke Wikstrom committed Jun 26, 2018
Commits on Jun 24, 2018
  1. Changes for Erlang/OTP 21.0

    vinoski committed Jun 24, 2018
    Because of changes in erlang:get_stacktrace/0 in 21.0, add a macro for
    portably obtaining stack traces across versions, and modify code using
    stack traces to use the macro.
    
    Add portability support for ssl:handshake/2 and error_logger to
    yaws_dynopts.
    
    In yaws_server:acceptor0/2 we should use yaws_dynopts:ssl_handshake/2
    for portability across versions, but it doesn't work for pre-OTP 21.0
    releases yet, so for now keep the ssl:ssl_accept/2 call but mask it so
    the compiler doesn't issue deprecation errors.
    
    In yaws_log:init/1, for portability across versions, add a call to
    yaws_dynopts:start_error_logger/0 to ensure error_logger is started
    before first use.
Commits on May 31, 2018
  1. Fix missing space in yaws_server:handle_out_reply/5

    leoliu committed May 31, 2018
Commits on Apr 23, 2018
  1. Fix #332: recognize '?' in conf strings

    vinoski committed Apr 23, 2018
    The documentation for serveralias states that it allows wildcards,
    specifically that "'?' matches one character unless that character is
    a period ('.')", but issue #332 shows that using a '?' as specified
    results in a bad conf error.
    
    Modify yaws_config to allow '?' characters in configuration
    strings. Modify the yaws_sni_strict test configuration to use '?' in a
    serveralias configuration setting as a regression test.
Commits on Apr 11, 2018
  1. Preparing for 2.0.5

    klacke committed Apr 11, 2018
Commits on Mar 24, 2018
  1. Fix #327: Update HTML leaf elements

    vinoski committed Mar 24, 2018
    Update HTML leaf elements in yaws_html.erl based on the list provided
    at https://developer.mozilla.org/en-US/docs/Glossary/Empty_element .
    
    Change the mail application to call yaws_html:tag_type/1 instead of
    having its own copy of that function.
Commits on Mar 23, 2018
  1. Update out/1 return values documentation

    vinoski committed Mar 23, 2018
    Update yaws.tex and yaws_api.5 to describe all out/1 return values and
    to make the descriptions in each document match.
Commits on Mar 22, 2018
  1. Add the ysession_cookiegen configuration variable to allow users to

    vinoski committed Mar 22, 2018
    specify a module that can generate session cookies for
    yaws_session_server. Add handling of this variable to
    yaws_config. Document the ysession_cookiegen configuration variable in
    yaws.tex, yaws.conf.5, and yaws_api.5.
    
    Add the ysession_cookiegen field to the gconf record. Use it in
    yaws_session_server when it needs to generate a session cookie. If the
    field specifies a module, call the module's new_cookie/0 function to
    get a new session cookie. Add setter and getter functions for this
    field to yaws.erl, and also modify setup_gconf to setup this field and
    other missing ysession fields.
    
    Add a new test to yaws_sessions_server_SUITE to verify that
    yaws_session_server properly calls the custom session cookie generator
    module when configured.
Commits on Mar 20, 2018
  1. Fix #325: put extra HTML inside html block

    vinoski committed Mar 20, 2018
    In yaws_server:deliver_xxx/4, place ExtraHtml inside the generated
    <html> ... </html> block.
Older
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.