GitHub user wohali opened a pull request:
https://github.com/apache/couchdb-mochiweb/pull/2
Merge upstream 2.17.0 release
Not only are we a few revisions (years!) behind, but fixes have landed
upstream for situations that may cause handlers to block forever, see
61a65fea7d6b1e9f93c4a2c6b96e96dee02bec6e and apache/couchdb#1117 and
apache/couchdb#1063 for example.
Paging @rnewson.
Once this lands I will re-tag and we can bump `rebar.config.script` in
`apache/couchdb`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-mochiweb upstream-2.17.0
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-mochiweb/pull/2.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2
----
commit 52248cad5b0ce36adccbb292d521d0504c0d2c74
Author: Tuncer Ayaz <tuncer.ayaz@...>
Date: 2015-01-24T19:36:08Z
As discussed with @etrepum, add missing license headers
commit 027651d6d1029f5dfe79158f9ebd87b534110a93
Author: Bob Ippolito <bob@...>
Date: 2015-01-24T20:40:52Z
Merge pull request #148 from tuncer/missing-license-headers
As discussed with @etrepum, add missing license headers
commit 986b472811d6260dc5c9cc390c8040e6f94ce1a2
Author: Bob Ippolito <bob@...>
Date: 2015-01-24T20:42:25Z
update CHANGES for 2.12.1
commit 52ddb5d93d5509cfedfb7003d3601b98a4ac370f
Author: Bob Ippolito <bob@...>
Date: 2015-01-24T20:45:04Z
update copyright for mochiweb_session
commit 63947f4a23010e0c7c810a23e01ac681c14b9f1e
Author: Bob Ippolito <bob@...>
Date: 2015-01-26T06:07:50Z
attempt to fix active_socket accounting #149
commit 71ef2c343692c790ef2363c723fc3fe815601f75
Author: Bob Ippolito <bob@...>
Date: 2015-02-01T18:04:31Z
Merge pull request #150 from mochi/active-sockets-149
fix active_socket accounting #149
commit ee5ba87108280575fd0b781f0d33f7fa8d395b09
Author: Bob Ippolito <bob@...>
Date: 2015-02-01T18:06:08Z
update CHANGES for v2.12.1
commit c3fb6aed018d47a9c313daa966657a157d88dbc6
Author: Bob Ippolito <bob@...>
Date: 2015-02-21T20:04:01Z
exit when setopts result is {error,closed} #152
commit bc3bd8463ed312887de1c5be73ec1843cd697b4e
Author: Georg Göri <georg@...>
Date: 2015-03-06T20:42:40Z
Export stream_body/5, allows to specify a max body length
commit 42d37e68c93f9021e03d6e1ee4268e69f3924b94
Author: Georg Göri <georg@...>
Date: 2015-03-05T22:01:35Z
Allow recbuf to be undefined
If recbuf option is undefined, the operating system decides on the buffer
size
If no buffer size is speciefied, streaming will happen in the chunks of
MaxChunkSize
commit c7d7cc30d7c9a258adc266824e6d7ca5b5188be0
Author: Bob Ippolito <bob@...>
Date: 2015-03-08T06:19:28Z
Merge pull request #154 from jgrnt/allow_recbuf
Allow recbuf to be undefined
commit b66b68d95c9e1b2a32b194202e870e6d1e232eb7
Author: Bob Ippolito <bob@...>
Date: 2015-03-08T06:19:56Z
Merge pull request #155 from jgrnt/export_stream
Export stream_body/5, allows to specify a max body length
commit f01872e2ac30e21a5bb41765fb14f49ec026be1e
Author: Robert Kowalski <rok@...>
Date: 2015-07-19T22:19:12Z
add benchmarking for mochiweb
Add a benchmark-script, and add `make bench` which creates an app
for the benchmark. Additionally add a new route to the sample app
to have a benchmark that is not dependent on the file system.
commit 9aad123606a5930d44f4ff8a4bdef83b72917571
Author: Robert Kowalski <rok@...>
Date: 2015-07-20T00:46:38Z
performance: cache date
as the formatting of the date for each request is quite expensive
we cache it in an ets table now.
heavily inspired by cowboy, but does not use binaries and uses
still httpd_util:rfc1183 internally.
commit 8ab76825e61a665de45d36681eeab04dea428a39
Author: Robert Kowalski <rok@...>
Date: 2015-07-28T20:32:58Z
remove wrong name from debugging
commit 5238b76f115ceb4f85757afe37bd42484989957c
Author: Robert Kowalski <rok@...>
Date: 2015-07-28T20:40:22Z
remove detached
not needed
commit b7aff43702abfbee2a8d1503b2204caaf0791f3d
Author: Robert Kowalski <rok@...>
Date: 2015-07-29T22:36:01Z
optimize for read concurrency
commit 5c48f09d722da846312eb322a5c8eadb90c2ac07
Author: Robert Kowalski <rok@...>
Date: 2015-07-29T22:50:12Z
return string
commit 5f4901d331214b3c875e93cf22abff71868708ec
Author: Robert Kowalski <rok@...>
Date: 2015-07-29T22:59:35Z
apply feedback on starting the clock
commit 19ba7a339bec101b376af26701514eae48c8f2d7
Author: Robert Kowalski <rok@...>
Date: 2015-08-01T21:52:01Z
don't stablish link
commit 4daa6f3dda213b794a860bfe9640716221d909f2
Author: Robert Kowalski <rok@...>
Date: 2015-08-04T20:01:43Z
do not stop clock on http stop
commit 8f5e13b188d1cb6c8e56340dcf70185c86039c98
Author: Robert Kowalski <rok@...>
Date: 2015-08-04T20:02:12Z
remove apply call
commit 3d284c0303a23675fbd0fb7173bb0a017f2d124f
Author: Robert Kowalski <rok@...>
Date: 2015-08-04T20:28:26Z
_PID -> _Pid
commit 88d7eedf10d7b4ebb31a50cdbf004d5c840b585d
Author: Bob Ippolito <bob@...>
Date: 2015-08-31T01:04:57Z
Merge pull request #158 from robertkowalski/simplify
performance: cache date
commit 419ba968e22ebb69ad542add426034fd5cbd4f74
Author: Bob Ippolito <bob@...>
Date: 2015-08-31T05:55:14Z
update CHANGELOG for #158
commit 952087ef7a2ce73b8c2d666de13adf138d913d77
Author: Bob Ippolito <bob@...>
Date: 2015-08-31T15:30:40Z
ensure correct ordering of Set-Cookie output headers #162
commit 61a65fea7d6b1e9f93c4a2c6b96e96dee02bec6e
Author: Robert Newson <rnewson@...>
Date: 2015-09-08T09:39:48Z
Don't swallow 'other' messages
Mochiweb handlers that use the message queue can sometimes find that
mochiweb has swallowed messages, causing them to timeout or block for
a reply that will never come.
commit decb0754a0d97eeb1fc03247261197dcbf0e6781
Author: Bob Ippolito <bob@...>
Date: 2015-09-09T01:40:26Z
Merge pull request #161 from cloudant/leave-other-messages
Don't swallow 'other' messages
commit 82bb026b05217d6f7ed65f23e51cf6811c8cb0cd
Author: Bob Ippolito <bob@...>
Date: 2015-09-09T01:41:47Z
update changelog for #161
commit 5ab8949004229f2f9cb902d5d72ee1b32ca83a15
Author: Bob Ippolito <bob@...>
Date: 2015-09-09T01:42:49Z
Merge pull request #159 from robertkowalski/bench-mochi
add benchmarking for mochiweb
----
---