…ate a 50 to 1 performance improvement with this change.
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.
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...
* 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 <02066a5>