Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from mochi repo #15

Merged
merged 128 commits into from
Jul 24, 2014
Merged

update from mochi repo #15

merged 128 commits into from
Jul 24, 2014

Commits on Nov 2, 2011

  1. Configuration menu
    Copy the full SHA
    af4cb95 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2011

  1. Configuration menu
    Copy the full SHA
    d163f12 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'html-amp-gh69'

    etrepum committed Dec 17, 2011
    Configuration menu
    Copy the full SHA
    81e9674 View commit details
    Browse the repository at this point in the history
  3. fix edoc warnings

    etrepum committed Dec 17, 2011
    Configuration menu
    Copy the full SHA
    29937a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7f3693 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2012

  1. Configuration menu
    Copy the full SHA
    af9fa1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    938d5c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2012

  1. Configuration menu
    Copy the full SHA
    5305a4b View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2012

  1. Configuration menu
    Copy the full SHA
    203499a View commit details
    Browse the repository at this point in the history
  2. Fix for parsing quoted attributes with newlines.

    Quoted attributes are allowed to contain newlines.
    mmzeeman committed Apr 26, 2012
    Configuration menu
    Copy the full SHA
    6dc863f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2012

  1. Merge pull request #75 from mmzeeman/master

    Fix for parsing unescaped < characters.
    etrepum committed Apr 27, 2012
    Configuration menu
    Copy the full SHA
    2a91f6a View commit details
    Browse the repository at this point in the history

Commits on May 10, 2012

  1. Configuration menu
    Copy the full SHA
    a277c7c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #77 from mmzeeman/master

    Fix for problem with to_html rendering faulty html with singleton tags.
    etrepum committed May 10, 2012
    Configuration menu
    Copy the full SHA
    d541e9a View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2012

  1. Configuration menu
    Copy the full SHA
    9d205a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2012

  1. The range-header handling does not implement the following:

    http://tools.ietf.org/html/rfc2616#section-14.35.1
    
      If the last-byte-pos value is absent, or if
      the value is greater than or equal to the current
      length of the entity-body, last-byte-pos is taken
      to be equal to one less than the current length of
      the entity-body in bytes.
    
    Specifically, the 'greater than equal to' case.
    pmundkur committed Oct 8, 2012
    Configuration menu
    Copy the full SHA
    fe5e0c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2012

  1. Configuration menu
    Copy the full SHA
    888ceb5 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2012

  1. Merge pull request #85 from pmundkur/fix-ranges

    Fix a case in handling range headers
    etrepum committed Oct 12, 2012
    Configuration menu
    Copy the full SHA
    e282266 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2012

  1. amended get_combined_value.

    kmwang committed Oct 15, 2012
    Configuration menu
    Copy the full SHA
    53ee10b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2012

  1. support parsing quoted string.

    kmwang committed Oct 18, 2012
    Configuration menu
    Copy the full SHA
    ede9003 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2012

  1. Fix 0-length range responses.

    There were two issues:
    
    - file:pread() returns eof in the case when the length of the
      read is 0 bytes, for any offset.  This causes badarg exceptions
      later in iolist_size when the 'eof' atom is encountered instead
      of a binary
    
    - The range-length computation is off by 1 for 0-length ranges:
      {Skip, Skip + Length - 1, PartialBody} would result in e.g.
      {0, -1, eof}. {0, -1} is invalid HTTP according to
    
      http://tools.ietf.org/html/rfc2616#section-14.16
    
         A byte-content-range-spec with a byte-range-resp-spec whose
         last-byte-pos value is less than its first-byte-pos value,
         or whose instance-length value is less than or equal to its
         last-byte-pos value, is invalid.
    
    This patch fixes both issues.
    pmundkur committed Nov 6, 2012
    Configuration menu
    Copy the full SHA
    8ec8af1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2def5f1 View commit details
    Browse the repository at this point in the history
  3. Removed export_all

    doubleyou committed Nov 6, 2012
    Configuration menu
    Copy the full SHA
    2ba8d24 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #88 from doubleyou/handling-combined-header

    Handling combined header
    doubleyou committed Nov 6, 2012
    Configuration menu
    Copy the full SHA
    20f2f00 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2012

  1. Configuration menu
    Copy the full SHA
    526ce73 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2012

  1. Fix for mochiweb_acceptor crash under R15B02

    The source is still unclear but R15B02 now will return and emsgsize error
    if the received packet is larger than the recvbuf.  This can be tested with
    the following (sorry I don't know how to integrate this sort of test into
    mochiweb's tests).
    
    -module(mochi_test).
    
    -export([start/0,
             handle_http/1,
             test/1]).
    
    start() ->
      application:start (inets),
      mochiweb_http:start([{port, 5678}, {loop, fun(Req) -> handle_http(Req) end}]).
    
    handle_http(Req) ->
      Req:respond({ 200,
                    [ {"Content-Type", "text/html"} ],
                    [ "<html><body>Hello</body></html>" ]
                  }).
    
    test (Len) ->
      httpc:request (get, {"http://127.0.0.1:5678/",
                     [{"X-Random", [$a || _ <- lists:seq(1,Len)]}]}, [], []).
    
    Once compiled you can run this with
    
    erl -pa ebin -boot start_sasl
    
    Then run with
    
    mochi_test:start().
    mochi_test:test(10000).
    
    The result is different with R14B04 and R15B02.  With R15B02 there was
    a crash in the mochiweb_acceptor.  This patch deals with that crash.
    djnym committed Dec 13, 2012
    Configuration menu
    Copy the full SHA
    fedfd11 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2012

  1. Do not allow backslashes in path (security).

    On Windows, it is possible to access arbitrary files by crafting
    a GET with unescaped \, like GET /..\..\..\..\..\windows\win.ini
    
    http://www.couchbase.com/issues/browse/MB-7390
    Sriram Melkote committed Dec 14, 2012
    Configuration menu
    Copy the full SHA
    977f91c View commit details
    Browse the repository at this point in the history
  2. Issue 92: Do not allow backslashes in path (security).

    On Windows, it is possible to access arbitrary files by crafting
    a GET with unescaped \, like GET /..\..\..\..\..\windows\win.ini
    
    Please also see ouchbase.com/issues/browse/MB-7390
    Sriram Melkote committed Dec 14, 2012
    Configuration menu
    Copy the full SHA
    ac2bf2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3259a93 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2012

  1. Merge pull request #93 from melkote/master

    Pull request for issue 92: Do not allow backslashes in path (windows security).
    etrepum committed Dec 15, 2012
    Configuration menu
    Copy the full SHA
    5ee1eeb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #91 from djnym/R15B02_mochiweb_acceptor_crash

    Fix for mochiweb_acceptor crash under R15B02
    etrepum committed Dec 15, 2012
    Configuration menu
    Copy the full SHA
    dcd1076 View commit details
    Browse the repository at this point in the history
  3. prep changelog for 2.4.0

    etrepum committed Dec 15, 2012
    Configuration menu
    Copy the full SHA
    5ed0946 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2013

  1. Configuration menu
    Copy the full SHA
    1be66c0 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2013

  1. Configuration menu
    Copy the full SHA
    92464d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2013

  1. Trying new encoding ways

    lhft committed Jan 7, 2013
    Configuration menu
    Copy the full SHA
    1f1867b View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2013

  1. Configuration menu
    Copy the full SHA
    7aa6d1e View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2013

  1. Working on Dymitri

    lhft committed Jan 10, 2013
    Configuration menu
    Copy the full SHA
    d21e5b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2013

  1. Configuration menu
    Copy the full SHA
    ba86dff View commit details
    Browse the repository at this point in the history
  2. There is only one place to put user or any kind of data now. I don't …

    …really understan the security implications of this. There is no term_to_binary in the code now.
    lhft committed Jan 11, 2013
    Configuration menu
    Copy the full SHA
    ae7aa5d View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2013

  1. use tuple modules instead of parameterized modules

    Erlang R16, coming soon, will do away with parameterized modules (see Issue
    4 under http://www.erlang.org/news/35 for details). Change Mochiweb to use
    tuple modules instead, since they will continue to be supported in R16 and
    beyond. These changes are backward compatible, so current Mochiweb
    applications should require only recompilation to continue working.
    vinoski committed Jan 23, 2013
    Configuration menu
    Copy the full SHA
    23a1d48 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #95 from vinoski/drop-param-mods

    use tuple modules instead of parameterized modules
    etrepum committed Jan 23, 2013
    Configuration menu
    Copy the full SHA
    2fb6dcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b02ea50 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2013

  1. Configuration menu
    Copy the full SHA
    22b770e View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2013

  1. Configuration menu
    Copy the full SHA
    df5a881 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2013

  1. Configuration menu
    Copy the full SHA
    5a1b589 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2013

  1. Fixed the final notes

    lhft committed Jan 27, 2013
    Configuration menu
    Copy the full SHA
    68c48b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2013

  1. tag v2.4.1

    etrepum committed Jan 30, 2013
    Configuration menu
    Copy the full SHA
    c8516e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2013

  1. Configuration menu
    Copy the full SHA
    b91291c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #100 from shkumagai/feature/fix-mochiweb_response-…

    …regression
    
    fix mochiweb_response regression
    etrepum committed Feb 6, 2013
    Configuration menu
    Copy the full SHA
    988a498 View commit details
    Browse the repository at this point in the history
  3. update CHANGES, tag v2.4.2

    etrepum committed Feb 6, 2013
    Configuration menu
    Copy the full SHA
    edb954a View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2013

  1. Some formatting applied

    lhft committed Feb 11, 2013
    Configuration menu
    Copy the full SHA
    1f353dd View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2013

  1. Merge pull request #94 from lhft/master

    Session module for managing session cookies
    doubleyou committed Feb 20, 2013
    Configuration menu
    Copy the full SHA
    6c9be07 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2013

  1. replace now() with os:timestamp() in acceptor

    Tristan Sloughter committed Mar 4, 2013
    Configuration menu
    Copy the full SHA
    a4ed248 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #102 from tsloughter/master

    replace now() with os:timestamp() in acceptor
    etrepum committed Mar 4, 2013
    Configuration menu
    Copy the full SHA
    a3962ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    adab7b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c2988f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a1dd2a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5c49b35 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2013

  1. travis R16B

    etrepum committed Mar 6, 2013
    Configuration menu
    Copy the full SHA
    16b7cb6 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2013

  1. Configuration menu
    Copy the full SHA
    70c88e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d958876 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2013

  1. dialyzer fixes

    etrepum committed Mar 10, 2013
    Configuration menu
    Copy the full SHA
    f3f133b View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2013

  1. Configuration menu
    Copy the full SHA
    167f517 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2013

  1. Configuration menu
    Copy the full SHA
    15bc558 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2013

  1. Make the acceptor crash optional.

    So turns out the "Fix for mochiweb_acceptor crash under R15B02" from
    mochi/mochiweb#91 was a bug in OTP fixed in R16B.
    
    erlang/otp@6aa9e71
    
    So it worked in R14, was broken in R15 and got fixed in R16.  This commit
    makes it such that things will work as well as possible in each version.
    
    In rebar.config I set a compiler option if on R14 or R16, in mochiweb_http.erl
    I make the extra R15 clause be added with the macro, then in
    mochiweb_socket_server.erl I add in { exit_on_close, false } to the options.
    
    In addition there is a script which will detect if the fix is needed based
    on my test case from issue 91.
    
    Just run 'make ; cd scripts ; ./check_for_gen_tcp_fix.erl' and it should
    return true if the fix is in place.
    djnym committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    4afdf42 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #107 from djnym/gen_tcp_fix

    Make the acceptor crash optional.
    etrepum committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    56a32a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2013

  1. Configuration menu
    Copy the full SHA
    92b8f5b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2013

  1. normalize whitespace

    etrepum committed May 6, 2013
    Configuration menu
    Copy the full SHA
    bfc0c38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f540b15 View commit details
    Browse the repository at this point in the history
  3. failing test for #110

    etrepum committed May 6, 2013
    Configuration menu
    Copy the full SHA
    13f9316 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa0b40e View commit details
    Browse the repository at this point in the history
  5. bump version and CHANGES

    etrepum committed May 6, 2013
    Configuration menu
    Copy the full SHA
    1129816 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2013

  1. Merge branch 'html-regr-110'

    etrepum committed May 8, 2013
    Configuration menu
    Copy the full SHA
    525d843 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2013

  1. change stop from cast to call

    etrepum committed May 29, 2013
    Configuration menu
    Copy the full SHA
    8e3f3dd View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2013

  1. Fix for Erlang R16B01

    Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
    lemenkov committed Jun 21, 2013
    Configuration menu
    Copy the full SHA
    4ac0009 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #112 from lemenkov/R16B01

    Fix for Erlang R16B01
    etrepum committed Jun 21, 2013
    Configuration menu
    Copy the full SHA
    680dba8 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2013

  1. Add support for possible outputs from

    `erlang:decode_package/3` so they can be handled
    gracefully.
    omarkj committed Jul 11, 2013
    Configuration menu
    Copy the full SHA
    d2fb1be View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2013

  1. Get rid of crypto warnings

    Also should be backwards compatible options back to R14 based on
    compile macros in rebar
    ferd committed Jul 16, 2013
    Configuration menu
    Copy the full SHA
    6e06bd6 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2013

  1. Merge pull request #115 from heroku/R16B01

    Crypto leap forward for R16B01+
    doubleyou committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    306bb77 View commit details
    Browse the repository at this point in the history
  2. Made all the targets phony

    doubleyou committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    e6257ea View commit details
    Browse the repository at this point in the history
  3. Merge pull request #116 from doubleyou/makefile-fix

    Made all the targets phony
    doubleyou committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    b0cb5dc View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2013

  1. bring CHANGES.md up to date

    etrepum committed Aug 1, 2013
    Configuration menu
    Copy the full SHA
    b57014d View commit details
    Browse the repository at this point in the history
  2. workaround to fix edoc build

    etrepum committed Aug 1, 2013
    Configuration menu
    Copy the full SHA
    2741054 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #114 from omarkj/decode_packet_support

    Add support for all possible outputs of erlang:decode_packet/3
    etrepum committed Aug 1, 2013
    Configuration menu
    Copy the full SHA
    0f639f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8bb260f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b77ea0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #87 from pmundkur/fix-zero-length-range-response

    Fix 0-length range responses.
    etrepum committed Aug 1, 2013
    Configuration menu
    Copy the full SHA
    510766b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c2e78e View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2013

  1. Adobe-valid MIME type for crossdomain.xml

    Dmitry Demeshchuk committed Nov 13, 2013
    Configuration menu
    Copy the full SHA
    eef1250 View commit details
    Browse the repository at this point in the history
  2. Small optimization

    Dmitry Demeshchuk committed Nov 13, 2013
    Configuration menu
    Copy the full SHA
    44bb98f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #118 from doubleyou/crossdomain-mime

    Adobe-valid MIME type for crossdomain.xml
    etrepum committed Nov 13, 2013
    Configuration menu
    Copy the full SHA
    31efc60 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2013

  1. Configuration menu
    Copy the full SHA
    58bc0be View commit details
    Browse the repository at this point in the history
  2. fill license details

    k3nn7 committed Dec 8, 2013
    Configuration menu
    Copy the full SHA
    cef2055 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2013

  1. Configuration menu
    Copy the full SHA
    2eb1c56 View commit details
    Browse the repository at this point in the history
  2. simpler interface, refactor

    k3nn7 committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    de79c0a View commit details
    Browse the repository at this point in the history
  3. refactor of request/5 function

    k3nn7 committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    3961edc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ecb1eba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7ba3196 View commit details
    Browse the repository at this point in the history
  6. clean up trailing whitespace

    etrepum committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    c8e3a52 View commit details
    Browse the repository at this point in the history
  7. fix compiler warning

    etrepum committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    7932aa3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7dac0cb View commit details
    Browse the repository at this point in the history
  9. normalize whitespace

    etrepum committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    8ecae10 View commit details
    Browse the repository at this point in the history
  10. add HTML for example

    etrepum committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    ecee927 View commit details
    Browse the repository at this point in the history
  11. add scheme to hixie_handshake

    etrepum committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    5501126 View commit details
    Browse the repository at this point in the history
  12. clean up conditionals

    etrepum committed Dec 25, 2013
    Configuration menu
    Copy the full SHA
    ef24a57 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2013

  1. Configuration menu
    Copy the full SHA
    74d6cdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49eaab9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d253ce8 View commit details
    Browse the repository at this point in the history
  4. fix state bug

    etrepum committed Dec 26, 2013
    Configuration menu
    Copy the full SHA
    6ab8d83 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2014

  1. Merge branch 'websocket'

    etrepum committed Jan 2, 2014
    Configuration menu
    Copy the full SHA
    1d73383 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2014

  1. Update test/mochiweb_tests.erl

    * With Erlang R16B03 running on FreeBSD/amd64 10.0-PRERELEASE
      (base/stable/10 r260159),
      the following tests will not finish
      within the default eunit timeout of 5 seconds
      (See `lib/eunit/src/eunit_internal.hrl` (of R16B03))
      so cases modified to extend timeout to 60 seconds (`LARGE_TIMEOUT`):
    
            % note well the underscore at the end of function names
            single_100k_http_POST_test_()
            single_100k_https_POST_test_()
            multiple_100k_http_POST_test_()
            multiple_100k_https_POST_test_()
    
      See also <mochi/mochiweb@02066a5>
    jj1bdx committed Jan 3, 2014
    Configuration menu
    Copy the full SHA
    67e6863 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #121 from jj1bdx/jj1bdx-freebsd-testfail-fix

    Update test/mochiweb_tests.erl
    etrepum committed Jan 3, 2014
    Configuration menu
    Copy the full SHA
    a6c2281 View commit details
    Browse the repository at this point in the history
  3. update CHANGES

    etrepum committed Jan 3, 2014
    Configuration menu
    Copy the full SHA
    7a7cefa View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2014

  1. Allow whitespace in Range headers

    While investigating basho/webmachine#186 it was noted that a small but
    non-zero percentage of clients embed whitespace in Range headers. It
    appears this is valid:
    
    From http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
    
        byte-range-set  = 1#( byte-range-spec | suffix-byte-range-spec )
    
    From http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2
    
        #rule
        ...separated by one or more commas (",") and OPTIONAL linear
        white space (LWS)...
        ...null elements are allowed, but do not contribute to the count
        of elements present. That is, "(element), , (element) " is permitted,
        but counts as only two elements...
    nparry committed Feb 6, 2014
    Configuration menu
    Copy the full SHA
    176ddce View commit details
    Browse the repository at this point in the history
  2. Merge pull request #125 from nparry/whitespace_in_range_header

    Allow whitespace in Range headers
    etrepum committed Feb 6, 2014
    Configuration menu
    Copy the full SHA
    8eb1f22 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2014

  1. Add a simple implementation of max connections

    max limits the sum of active connections and listeners.
    The implementation assumes that max is greater than acceptor_pool_size,
    and always maintains the acceptor_pool at acceptor_pool_size as long
    as the max is not exceeded.
    
    If max is less than acceptor_pool_size, acceptor_pool_size is the
    effective max.
    pmundkur authored and Shayan Pooya committed Mar 23, 2014
    Configuration menu
    Copy the full SHA
    b413226 View commit details
    Browse the repository at this point in the history
  2. Add eunit tests for the max implementation.

    pmundkur authored and Shayan Pooya committed Mar 23, 2014
    Configuration menu
    Copy the full SHA
    cad1a6d View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2014

  1. Configuration menu
    Copy the full SHA
    af7f519 View commit details
    Browse the repository at this point in the history
  2. Avoid sleeping in the unittests.

    Shayan Pooya committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    3138381 View commit details
    Browse the repository at this point in the history
  3. Fix the computation of the active_sockets number.

    If we added a new socket in the recycle_acceptor, we should not decrement the
    number of active sockets.
    Shayan Pooya committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    1849699 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2014

  1. Merge pull request #126 from pooya/disco

    implementation of max, the number of connections is now limited with a default of 2048
    etrepum committed Mar 26, 2014
    Configuration menu
    Copy the full SHA
    ba6cd15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    445788a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2014

  1. Fix type specs in base64url

    Ransom Richardson committed May 8, 2014
    Configuration menu
    Copy the full SHA
    dd72248 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #127 from talko/base64url_dialyzer

    Fix type specs in base64url
    etrepum committed May 8, 2014
    Configuration menu
    Copy the full SHA
    b37b6fe View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2014

  1. Configuration menu
    Copy the full SHA
    5a01be4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9090c79 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2014

  1. Makefile: adapt rebar calls to new behavior

    * rebar prepare-deps is equivalent to rebar -r get-deps compile
    * Only rebar *-deps and rebar compile are recursive by default.
      Therefore, we don't need to pass skip_deps=true.
    Tuncer Ayaz committed Jun 27, 2014
    Configuration menu
    Copy the full SHA
    0a68bbe View commit details
    Browse the repository at this point in the history
  2. Merge pull request #132 from tuncer/rebar-recursion

    Makefile: adapt rebar calls to new behavior
    etrepum committed Jun 27, 2014
    Configuration menu
    Copy the full SHA
    925a783 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2014

  1. more updates from primary mochiweb repo

    The crypto compatibility changes in mochiweb_session.erl and
    mochiweb_websocket.erl are necessary for older releases of Erlang not
    supported in the primary mochiweb repo.
    vinoski committed Jul 11, 2014
    Configuration menu
    Copy the full SHA
    3325cb3 View commit details
    Browse the repository at this point in the history