-
Notifications
You must be signed in to change notification settings - Fork 37
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
Commits on Nov 2, 2011
-
Configuration menu - View commit details
-
Copy full SHA for af4cb95 - Browse repository at this point
Copy the full SHA af4cb95View commit details
Commits on Dec 17, 2011
-
Configuration menu - View commit details
-
Copy full SHA for d163f12 - Browse repository at this point
Copy the full SHA d163f12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81e9674 - Browse repository at this point
Copy the full SHA 81e9674View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29937a6 - Browse repository at this point
Copy the full SHA 29937a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7f3693 - Browse repository at this point
Copy the full SHA b7f3693View commit details
Commits on Mar 9, 2012
-
Configuration menu - View commit details
-
Copy full SHA for af9fa1b - Browse repository at this point
Copy the full SHA af9fa1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 938d5c8 - Browse repository at this point
Copy the full SHA 938d5c8View commit details
Commits on Mar 31, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 5305a4b - Browse repository at this point
Copy the full SHA 5305a4bView commit details
Commits on Apr 26, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 203499a - Browse repository at this point
Copy the full SHA 203499aView commit details -
Fix for parsing quoted attributes with newlines.
Quoted attributes are allowed to contain newlines.
Configuration menu - View commit details
-
Copy full SHA for 6dc863f - Browse repository at this point
Copy the full SHA 6dc863fView commit details
Commits on Apr 27, 2012
-
Merge pull request #75 from mmzeeman/master
Fix for parsing unescaped < characters.
Configuration menu - View commit details
-
Copy full SHA for 2a91f6a - Browse repository at this point
Copy the full SHA 2a91f6aView commit details
Commits on May 10, 2012
-
Configuration menu - View commit details
-
Copy full SHA for a277c7c - Browse repository at this point
Copy the full SHA a277c7cView commit details -
Merge pull request #77 from mmzeeman/master
Fix for problem with to_html rendering faulty html with singleton tags.
Configuration menu - View commit details
-
Copy full SHA for d541e9a - Browse repository at this point
Copy the full SHA d541e9aView commit details
Commits on Jul 28, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 9d205a8 - Browse repository at this point
Copy the full SHA 9d205a8View commit details
Commits on Oct 8, 2012
-
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.
Configuration menu - View commit details
-
Copy full SHA for fe5e0c5 - Browse repository at this point
Copy the full SHA fe5e0c5View commit details
Commits on Oct 9, 2012
-
add ability to handle combined content-length header.
kmwang committedOct 9, 2012 Configuration menu - View commit details
-
Copy full SHA for 888ceb5 - Browse repository at this point
Copy the full SHA 888ceb5View commit details
Commits on Oct 12, 2012
-
Merge pull request #85 from pmundkur/fix-ranges
Fix a case in handling range headers
Configuration menu - View commit details
-
Copy full SHA for e282266 - Browse repository at this point
Copy the full SHA e282266View commit details
Commits on Oct 15, 2012
-
kmwang committed
Oct 15, 2012 Configuration menu - View commit details
-
Copy full SHA for 53ee10b - Browse repository at this point
Copy the full SHA 53ee10bView commit details
Commits on Oct 18, 2012
-
support parsing quoted string.
kmwang committedOct 18, 2012 Configuration menu - View commit details
-
Copy full SHA for ede9003 - Browse repository at this point
Copy the full SHA ede9003View commit details
Commits on Nov 6, 2012
-
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.
Configuration menu - View commit details
-
Copy full SHA for 8ec8af1 - Browse repository at this point
Copy the full SHA 8ec8af1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2def5f1 - Browse repository at this point
Copy the full SHA 2def5f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ba8d24 - Browse repository at this point
Copy the full SHA 2ba8d24View commit details -
Merge pull request #88 from doubleyou/handling-combined-header
Handling combined header
Configuration menu - View commit details
-
Copy full SHA for 20f2f00 - Browse repository at this point
Copy the full SHA 20f2f00View commit details
Commits on Nov 19, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 526ce73 - Browse repository at this point
Copy the full SHA 526ce73View commit details
Commits on Dec 13, 2012
-
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.
Configuration menu - View commit details
-
Copy full SHA for fedfd11 - Browse repository at this point
Copy the full SHA fedfd11View commit details
Commits on Dec 14, 2012
-
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 committedDec 14, 2012 Configuration menu - View commit details
-
Copy full SHA for 977f91c - Browse repository at this point
Copy the full SHA 977f91cView commit details -
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 committedDec 14, 2012 Configuration menu - View commit details
-
Copy full SHA for ac2bf2a - Browse repository at this point
Copy the full SHA ac2bf2aView commit details -
Merge branch 'master' of git://github.com/melkote/mochiweb
Sriram Melkote committedDec 14, 2012 Configuration menu - View commit details
-
Copy full SHA for 3259a93 - Browse repository at this point
Copy the full SHA 3259a93View commit details
Commits on Dec 15, 2012
-
Merge pull request #93 from melkote/master
Pull request for issue 92: Do not allow backslashes in path (windows security).
Configuration menu - View commit details
-
Copy full SHA for 5ee1eeb - Browse repository at this point
Copy the full SHA 5ee1eebView commit details -
Merge pull request #91 from djnym/R15B02_mochiweb_acceptor_crash
Fix for mochiweb_acceptor crash under R15B02
Configuration menu - View commit details
-
Copy full SHA for dcd1076 - Browse repository at this point
Copy the full SHA dcd1076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed0946 - Browse repository at this point
Copy the full SHA 5ed0946View commit details
Commits on Jan 2, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 1be66c0 - Browse repository at this point
Copy the full SHA 1be66c0View commit details
Commits on Jan 4, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 92464d0 - Browse repository at this point
Copy the full SHA 92464d0View commit details
Commits on Jan 7, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 1f1867b - Browse repository at this point
Copy the full SHA 1f1867bView commit details
Commits on Jan 8, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 7aa6d1e - Browse repository at this point
Copy the full SHA 7aa6d1eView commit details
Commits on Jan 10, 2013
-
Configuration menu - View commit details
-
Copy full SHA for d21e5b2 - Browse repository at this point
Copy the full SHA d21e5b2View commit details
Commits on Jan 11, 2013
-
Configuration menu - View commit details
-
Copy full SHA for ba86dff - Browse repository at this point
Copy the full SHA ba86dffView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ae7aa5d - Browse repository at this point
Copy the full SHA ae7aa5dView commit details
Commits on Jan 23, 2013
-
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.
Configuration menu - View commit details
-
Copy full SHA for 23a1d48 - Browse repository at this point
Copy the full SHA 23a1d48View commit details -
Merge pull request #95 from vinoski/drop-param-mods
use tuple modules instead of parameterized modules
Configuration menu - View commit details
-
Copy full SHA for 2fb6dcc - Browse repository at this point
Copy the full SHA 2fb6dccView commit details -
Configuration menu - View commit details
-
Copy full SHA for b02ea50 - Browse repository at this point
Copy the full SHA b02ea50View commit details
Commits on Jan 24, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 22b770e - Browse repository at this point
Copy the full SHA 22b770eView commit details
Commits on Jan 25, 2013
-
Configuration menu - View commit details
-
Copy full SHA for df5a881 - Browse repository at this point
Copy the full SHA df5a881View commit details
Commits on Jan 26, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 5a1b589 - Browse repository at this point
Copy the full SHA 5a1b589View commit details
Commits on Jan 27, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 68c48b1 - Browse repository at this point
Copy the full SHA 68c48b1View commit details
Commits on Jan 30, 2013
-
Configuration menu - View commit details
-
Copy full SHA for c8516e3 - Browse repository at this point
Copy the full SHA c8516e3View commit details
Commits on Feb 6, 2013
-
Configuration menu - View commit details
-
Copy full SHA for b91291c - Browse repository at this point
Copy the full SHA b91291cView commit details -
Merge pull request #100 from shkumagai/feature/fix-mochiweb_response-…
…regression fix mochiweb_response regression
Configuration menu - View commit details
-
Copy full SHA for 988a498 - Browse repository at this point
Copy the full SHA 988a498View commit details -
Configuration menu - View commit details
-
Copy full SHA for edb954a - Browse repository at this point
Copy the full SHA edb954aView commit details
Commits on Feb 11, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 1f353dd - Browse repository at this point
Copy the full SHA 1f353ddView commit details
Commits on Feb 20, 2013
-
Merge pull request #94 from lhft/master
Session module for managing session cookies
Configuration menu - View commit details
-
Copy full SHA for 6c9be07 - Browse repository at this point
Copy the full SHA 6c9be07View commit details
Commits on Mar 4, 2013
-
replace now() with os:timestamp() in acceptor
Tristan Sloughter committedMar 4, 2013 Configuration menu - View commit details
-
Copy full SHA for a4ed248 - Browse repository at this point
Copy the full SHA a4ed248View commit details -
Merge pull request #102 from tsloughter/master
replace now() with os:timestamp() in acceptor
Configuration menu - View commit details
-
Copy full SHA for a3962ff - Browse repository at this point
Copy the full SHA a3962ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for adab7b9 - Browse repository at this point
Copy the full SHA adab7b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c2988f - Browse repository at this point
Copy the full SHA 7c2988fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1dd2a - Browse repository at this point
Copy the full SHA 4a1dd2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c49b35 - Browse repository at this point
Copy the full SHA 5c49b35View commit details
Commits on Mar 6, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 16b7cb6 - Browse repository at this point
Copy the full SHA 16b7cb6View commit details
Commits on Mar 7, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 70c88e7 - Browse repository at this point
Copy the full SHA 70c88e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d958876 - Browse repository at this point
Copy the full SHA d958876View commit details
Commits on Mar 10, 2013
-
Configuration menu - View commit details
-
Copy full SHA for f3f133b - Browse repository at this point
Copy the full SHA f3f133bView commit details
Commits on Mar 15, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 167f517 - Browse repository at this point
Copy the full SHA 167f517View commit details
Commits on Mar 20, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 15bc558 - Browse repository at this point
Copy the full SHA 15bc558View commit details
Commits on Apr 13, 2013
-
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.
Configuration menu - View commit details
-
Copy full SHA for 4afdf42 - Browse repository at this point
Copy the full SHA 4afdf42View commit details -
Merge pull request #107 from djnym/gen_tcp_fix
Make the acceptor crash optional.
Configuration menu - View commit details
-
Copy full SHA for 56a32a0 - Browse repository at this point
Copy the full SHA 56a32a0View commit details
Commits on Apr 15, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 92b8f5b - Browse repository at this point
Copy the full SHA 92b8f5bView commit details
Commits on May 6, 2013
-
Configuration menu - View commit details
-
Copy full SHA for bfc0c38 - Browse repository at this point
Copy the full SHA bfc0c38View commit details -
Configuration menu - View commit details
-
Copy full SHA for f540b15 - Browse repository at this point
Copy the full SHA f540b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f9316 - Browse repository at this point
Copy the full SHA 13f9316View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0b40e - Browse repository at this point
Copy the full SHA fa0b40eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1129816 - Browse repository at this point
Copy the full SHA 1129816View commit details
Commits on May 8, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 525d843 - Browse repository at this point
Copy the full SHA 525d843View commit details
Commits on May 29, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 8e3f3dd - Browse repository at this point
Copy the full SHA 8e3f3ddView commit details
Commits on Jun 21, 2013
-
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4ac0009 - Browse repository at this point
Copy the full SHA 4ac0009View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680dba8 - Browse repository at this point
Copy the full SHA 680dba8View commit details
Commits on Jul 11, 2013
-
Add support for possible outputs from
`erlang:decode_package/3` so they can be handled gracefully.
Configuration menu - View commit details
-
Copy full SHA for d2fb1be - Browse repository at this point
Copy the full SHA d2fb1beView commit details
Commits on Jul 16, 2013
-
Also should be backwards compatible options back to R14 based on compile macros in rebar
Configuration menu - View commit details
-
Copy full SHA for 6e06bd6 - Browse repository at this point
Copy the full SHA 6e06bd6View commit details
Commits on Jul 30, 2013
-
Merge pull request #115 from heroku/R16B01
Crypto leap forward for R16B01+
Configuration menu - View commit details
-
Copy full SHA for 306bb77 - Browse repository at this point
Copy the full SHA 306bb77View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6257ea - Browse repository at this point
Copy the full SHA e6257eaView commit details -
Merge pull request #116 from doubleyou/makefile-fix
Made all the targets phony
Configuration menu - View commit details
-
Copy full SHA for b0cb5dc - Browse repository at this point
Copy the full SHA b0cb5dcView commit details
Commits on Aug 1, 2013
-
Configuration menu - View commit details
-
Copy full SHA for b57014d - Browse repository at this point
Copy the full SHA b57014dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2741054 - Browse repository at this point
Copy the full SHA 2741054View commit details -
Merge pull request #114 from omarkj/decode_packet_support
Add support for all possible outputs of erlang:decode_packet/3
Configuration menu - View commit details
-
Copy full SHA for 0f639f6 - Browse repository at this point
Copy the full SHA 0f639f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb260f - Browse repository at this point
Copy the full SHA 8bb260fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b77ea0 - Browse repository at this point
Copy the full SHA 4b77ea0View commit details -
Merge pull request #87 from pmundkur/fix-zero-length-range-response
Fix 0-length range responses.
Configuration menu - View commit details
-
Copy full SHA for 510766b - Browse repository at this point
Copy the full SHA 510766bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c2e78e - Browse repository at this point
Copy the full SHA 8c2e78eView commit details
Commits on Nov 13, 2013
-
Adobe-valid MIME type for crossdomain.xml
Dmitry Demeshchuk committedNov 13, 2013 Configuration menu - View commit details
-
Copy full SHA for eef1250 - Browse repository at this point
Copy the full SHA eef1250View commit details -
Dmitry Demeshchuk committed
Nov 13, 2013 Configuration menu - View commit details
-
Copy full SHA for 44bb98f - Browse repository at this point
Copy the full SHA 44bb98fView commit details -
Merge pull request #118 from doubleyou/crossdomain-mime
Adobe-valid MIME type for crossdomain.xml
Configuration menu - View commit details
-
Copy full SHA for 31efc60 - Browse repository at this point
Copy the full SHA 31efc60View commit details
Commits on Dec 8, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 58bc0be - Browse repository at this point
Copy the full SHA 58bc0beView commit details -
Configuration menu - View commit details
-
Copy full SHA for cef2055 - Browse repository at this point
Copy the full SHA cef2055View commit details
Commits on Dec 25, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 2eb1c56 - Browse repository at this point
Copy the full SHA 2eb1c56View commit details -
Configuration menu - View commit details
-
Copy full SHA for de79c0a - Browse repository at this point
Copy the full SHA de79c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3961edc - Browse repository at this point
Copy the full SHA 3961edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecb1eba - Browse repository at this point
Copy the full SHA ecb1ebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ba3196 - Browse repository at this point
Copy the full SHA 7ba3196View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e3a52 - Browse repository at this point
Copy the full SHA c8e3a52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7932aa3 - Browse repository at this point
Copy the full SHA 7932aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dac0cb - Browse repository at this point
Copy the full SHA 7dac0cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ecae10 - Browse repository at this point
Copy the full SHA 8ecae10View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecee927 - Browse repository at this point
Copy the full SHA ecee927View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5501126 - Browse repository at this point
Copy the full SHA 5501126View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef24a57 - Browse repository at this point
Copy the full SHA ef24a57View commit details
Commits on Dec 26, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 74d6cdc - Browse repository at this point
Copy the full SHA 74d6cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49eaab9 - Browse repository at this point
Copy the full SHA 49eaab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d253ce8 - Browse repository at this point
Copy the full SHA d253ce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab8d83 - Browse repository at this point
Copy the full SHA 6ab8d83View commit details
Commits on Jan 2, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 1d73383 - Browse repository at this point
Copy the full SHA 1d73383View commit details
Commits on Jan 3, 2014
-
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>
Configuration menu - View commit details
-
Copy full SHA for 67e6863 - Browse repository at this point
Copy the full SHA 67e6863View commit details -
Merge pull request #121 from jj1bdx/jj1bdx-freebsd-testfail-fix
Update test/mochiweb_tests.erl
Configuration menu - View commit details
-
Copy full SHA for a6c2281 - Browse repository at this point
Copy the full SHA a6c2281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7cefa - Browse repository at this point
Copy the full SHA 7a7cefaView commit details
Commits on Feb 6, 2014
-
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...
Configuration menu - View commit details
-
Copy full SHA for 176ddce - Browse repository at this point
Copy the full SHA 176ddceView commit details -
Merge pull request #125 from nparry/whitespace_in_range_header
Allow whitespace in Range headers
Configuration menu - View commit details
-
Copy full SHA for 8eb1f22 - Browse repository at this point
Copy the full SHA 8eb1f22View commit details
Commits on Mar 23, 2014
-
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.
Configuration menu - View commit details
-
Copy full SHA for b413226 - Browse repository at this point
Copy the full SHA b413226View commit details -
Configuration menu - View commit details
-
Copy full SHA for cad1a6d - Browse repository at this point
Copy the full SHA cad1a6dView commit details
Commits on Mar 24, 2014
-
Move the mochiweb_socket_server_tests to the test directory.
Shayan Pooya committedMar 24, 2014 Configuration menu - View commit details
-
Copy full SHA for af7f519 - Browse repository at this point
Copy the full SHA af7f519View commit details -
Avoid sleeping in the unittests.
Shayan Pooya committedMar 24, 2014 Configuration menu - View commit details
-
Copy full SHA for 3138381 - Browse repository at this point
Copy the full SHA 3138381View commit details -
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 committedMar 24, 2014 Configuration menu - View commit details
-
Copy full SHA for 1849699 - Browse repository at this point
Copy the full SHA 1849699View commit details
Commits on Mar 26, 2014
-
Merge pull request #126 from pooya/disco
implementation of max, the number of connections is now limited with a default of 2048
Configuration menu - View commit details
-
Copy full SHA for ba6cd15 - Browse repository at this point
Copy the full SHA ba6cd15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 445788a - Browse repository at this point
Copy the full SHA 445788aView commit details
Commits on May 8, 2014
-
Ransom Richardson committed
May 8, 2014 Configuration menu - View commit details
-
Copy full SHA for dd72248 - Browse repository at this point
Copy the full SHA dd72248View commit details -
Merge pull request #127 from talko/base64url_dialyzer
Fix type specs in base64url
Configuration menu - View commit details
-
Copy full SHA for b37b6fe - Browse repository at this point
Copy the full SHA b37b6feView commit details
Commits on Jun 24, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 5a01be4 - Browse repository at this point
Copy the full SHA 5a01be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9090c79 - Browse repository at this point
Copy the full SHA 9090c79View commit details
Commits on Jun 27, 2014
-
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 committedJun 27, 2014 Configuration menu - View commit details
-
Copy full SHA for 0a68bbe - Browse repository at this point
Copy the full SHA 0a68bbeView commit details -
Merge pull request #132 from tuncer/rebar-recursion
Makefile: adapt rebar calls to new behavior
Configuration menu - View commit details
-
Copy full SHA for 925a783 - Browse repository at this point
Copy the full SHA 925a783View commit details
Commits on Jul 11, 2014
-
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.
Configuration menu - View commit details
-
Copy full SHA for 3325cb3 - Browse repository at this point
Copy the full SHA 3325cb3View commit details