Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 6, 2013
  1. @etrepum

    update CHANGES, tag v2.4.2

    etrepum authored
  2. @etrepum

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

    etrepum authored
    …regression
    
    fix mochiweb_response regression
  3. @shkumagai
Commits on Jan 30, 2013
  1. @etrepum

    tag v2.4.1

    etrepum authored
Commits on Jan 26, 2013
  1. @etrepum
Commits on Jan 24, 2013
  1. @etrepum

    #96 - mochifmt_records regression

    etrepum authored
Commits on Jan 23, 2013
  1. @etrepum
  2. @etrepum

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

    etrepum authored
    use tuple modules instead of parameterized modules
  3. @vinoski

    use tuple modules instead of parameterized modules

    vinoski authored
    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.
Commits on Dec 15, 2012
  1. @etrepum

    prep changelog for 2.4.0

    etrepum authored
  2. @etrepum

    Merge pull request #91 from djnym/R15B02_mochiweb_acceptor_crash

    etrepum authored
    Fix for mochiweb_acceptor crash under R15B02
  3. @etrepum

    Merge pull request #93 from melkote/master

    etrepum authored
    Pull request for issue 92: Do not allow backslashes in path (windows security).
Commits on Dec 14, 2012
  1. @melkote
  2. @melkote

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

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

    Do not allow backslashes in path (security).

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

    Fix for mochiweb_acceptor crash under R15B02

    djnym authored
    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 Nov 6, 2012
  1. @doubleyou

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

    doubleyou authored
    Handling combined header
  2. @doubleyou

    Removed export_all

    doubleyou authored
  3. @doubleyou
Commits on Oct 18, 2012
  1. @kmwang

    support parsing quoted string.

    kmwang authored
Commits on Oct 15, 2012
  1. @kmwang

    amended get_combined_value.

    kmwang authored
Commits on Oct 12, 2012
  1. @etrepum

    Merge pull request #85 from pmundkur/fix-ranges

    etrepum authored
    Fix a case in handling range headers
Commits on Oct 9, 2012
  1. @kmwang
Commits on Oct 8, 2012
  1. @pmundkur

    The range-header handling does not implement the following:

    pmundkur authored
    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 Jul 28, 2012
  1. @etrepum
Commits on May 10, 2012
  1. @etrepum

    Merge pull request #77 from mmzeeman/master

    etrepum authored
    Fix for problem with to_html rendering faulty html with singleton tags.
  2. @mmzeeman
Commits on Apr 27, 2012
  1. @etrepum

    Merge pull request #75 from mmzeeman/master

    etrepum authored
    Fix for parsing unescaped < characters.
Commits on Apr 26, 2012
  1. @mmzeeman

    Fix for parsing quoted attributes with newlines.

    mmzeeman authored
    Quoted attributes are allowed to contain newlines.
  2. @mmzeeman
Commits on Mar 31, 2012
  1. @etrepum
Commits on Mar 9, 2012
  1. @emad
  2. @emad
Commits on Dec 17, 2011
  1. @etrepum
  2. @etrepum

    fix edoc warnings

    etrepum authored
Something went wrong with that request. Please try again.