Skip to content

R16 #1

Merged
merged 48 commits into from Mar 27, 2013
Commits on Jul 28, 2012
  1. @etrepum
Commits on Oct 8, 2012
  1. @pmundkur

    The range-header handling does not implement the following:

    pmundkur committed Oct 8, 2012
    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.
Commits on Oct 9, 2012
  1. @kmwang
Commits on Oct 12, 2012
  1. @etrepum

    Merge pull request #85 from pmundkur/fix-ranges

    etrepum committed Oct 12, 2012
    Fix a case in handling range headers
Commits on Oct 15, 2012
  1. @kmwang

    amended get_combined_value.

    kmwang committed Oct 15, 2012
Commits on Oct 18, 2012
  1. @kmwang

    support parsing quoted string.

    kmwang committed Oct 18, 2012
Commits on Nov 6, 2012
  1. @doubleyou
  2. @doubleyou

    Removed export_all

    doubleyou committed Nov 6, 2012
  3. @doubleyou

    Merge pull request #88 from doubleyou/handling-combined-header

    doubleyou committed Nov 6, 2012
    Handling combined header
Commits on Dec 13, 2012
  1. @djnym

    Fix for mochiweb_acceptor crash under R15B02

    djnym committed Dec 13, 2012
    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.
Commits on Dec 14, 2012
  1. @melkote

    Do not allow backslashes in path (security).

    melkote committed Dec 15, 2012
    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
  2. @melkote

    Issue 92: Do not allow backslashes in path (security).

    melkote committed Dec 15, 2012
    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
  3. @melkote
Commits on Dec 15, 2012
  1. @etrepum

    Merge pull request #93 from melkote/master

    etrepum committed Dec 15, 2012
    Pull request for issue 92: Do not allow backslashes in path (windows security).
  2. @etrepum

    Merge pull request #91 from djnym/R15B02_mochiweb_acceptor_crash

    etrepum committed Dec 15, 2012
    Fix for mochiweb_acceptor crash under R15B02
  3. @etrepum

    prep changelog for 2.4.0

    etrepum committed Dec 15, 2012
Commits on Jan 2, 2013
  1. @lhft
Commits on Jan 4, 2013
  1. @lhft
Commits on Jan 7, 2013
  1. @lhft

    Trying new encoding ways

    lhft committed Jan 7, 2013
Commits on Jan 8, 2013
  1. @lhft
Commits on Jan 10, 2013
  1. @lhft

    Working on Dymitri

    lhft committed Jan 10, 2013
Commits on Jan 11, 2013
  1. @lhft
  2. @lhft

    There is only one place to put user or any kind of data now. I don't …

    lhft committed Jan 11, 2013
    …really understan the security implications of this. There is no term_to_binary in the code now.
Commits on Jan 23, 2013
  1. @vinoski

    use tuple modules instead of parameterized modules

    vinoski committed Jan 22, 2013
    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.
  2. @etrepum

    Merge pull request #95 from vinoski/drop-param-mods

    etrepum committed Jan 23, 2013
    use tuple modules instead of parameterized modules
  3. @etrepum
Commits on Jan 24, 2013
  1. @etrepum

    #96 - mochifmt_records regression

    etrepum committed Jan 24, 2013
Commits on Jan 25, 2013
  1. @lhft
Commits on Jan 26, 2013
  1. @etrepum
Commits on Jan 27, 2013
  1. @lhft

    Fixed the final notes

    lhft committed Jan 27, 2013
Commits on Jan 30, 2013
  1. @etrepum

    tag v2.4.1

    etrepum committed Jan 30, 2013
Commits on Feb 6, 2013
  1. @shkumagai
  2. @etrepum

    Merge pull request #100 from shkumagai/feature/fix-mochiweb_response-…

    etrepum committed Feb 5, 2013
    …regression
    
    fix mochiweb_response regression
  3. @etrepum

    update CHANGES, tag v2.4.2

    etrepum committed Feb 5, 2013
Commits on Feb 11, 2013
  1. @lhft

    Some formatting applied

    lhft committed Feb 11, 2013
Commits on Feb 20, 2013
  1. @doubleyou

    Merge pull request #94 from lhft/master

    doubleyou committed Feb 20, 2013
    Session module for managing session cookies
Commits on Mar 4, 2013
  1. replace now() with os:timestamp() in acceptor

    Tristan Sloughter committed Mar 4, 2013
  2. @etrepum

    Merge pull request #102 from tsloughter/master

    etrepum committed Mar 4, 2013
    replace now() with os:timestamp() in acceptor
  3. @etrepum
  4. @etrepum
  5. @etrepum
  6. @etrepum
Commits on Mar 6, 2013
  1. @etrepum

    travis R16B

    etrepum committed Mar 6, 2013
Commits on Mar 7, 2013
  1. @etrepum
  2. @etrepum
Commits on Mar 10, 2013
  1. @etrepum

    dialyzer fixes

    etrepum committed Mar 10, 2013
Commits on Mar 15, 2013
  1. @etrepum
Commits on Mar 20, 2013
  1. @etrepum
Something went wrong with that request. Please try again.