History log of /5.5.2/couchdb/src/mochiweb/ (Results 1 - 25 of 47)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.6.0, v4.5.0
1fc9a81f09-Mar-2016 Volker Mische <vmx@couchbase.com>

CBD-1453: Rebuild when header files change

Whenever an Erlang header file changes, rebuild the corresponding
Erlang files. This isn't an automated process, but you need to pass
in th

CBD-1453: Rebuild when header files change

Whenever an Erlang header file changes, rebuild the corresponding
Erlang files. This isn't an automated process, but you need to pass
in the header files a project should depend on manually. For simplicity
sometimes more headers are use than strictly needed. We rather rebuild
more than having a broken incremental build.

Change-Id: Iae6d0a9043ed1b74f2c104d9b251f45715ac04fd
Reviewed-on: http://review.couchbase.org/61152
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

4bd0f4c503-Mar-2016 Volker Mische <vmx@couchbase.com>

MB-17420 Don't use GLOB to find source/test files

Instead of using globbing, it's better to name the files
explicitely. That way incremental builds work.

Change-Id: I1b47c61b0f5

MB-17420 Don't use GLOB to find source/test files

Instead of using globbing, it's better to name the files
explicitely. That way incremental builds work.

Change-Id: I1b47c61b0f524e5576d4111075516d923f039a6f
Reviewed-on: http://review.couchbase.org/60856
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

d3be4a3d16-Nov-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-16826 Get rid of flawed applications starts in mochiweb.

It is flawed because it might lead to deadlocks during server
shutdown. When application:stop(App) is called, it blocks entire

MB-16826 Get rid of flawed applications starts in mochiweb.

It is flawed because it might lead to deadlocks during server
shutdown. When application:stop(App) is called, it blocks entire
application_controller process. So anything that tries to access it
from inside application being stopped will be blocked. It leads to
deadlock if such blocked call also blocks application shutdown. And
this is exactly the case with mochiweb, because corresponding
application:start calls are executed in supervisor process context
whenever mochiweb process is started.

These applications are now explicitly started by ns_server during
bootstrap.

Change-Id: I419c80f7bea1eb1d08094fb216891b423d502fc0
Reviewed-on: http://review.couchbase.org/57096
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

c6a2900617-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Build using CMake

Change-Id: If0f29acdd08ff8b148a5362f3a6fb4d6a5be901c
Reviewed-on: http://review.couchbase.org/32799
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: T

Build using CMake

Change-Id: If0f29acdd08ff8b148a5362f3a6fb4d6a5be901c
Reviewed-on: http://review.couchbase.org/32799
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

Revision tags: 2.1.1r, 2.1.0r, 2.0.2r
a104cbfc07-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

CBD-790 Build and run on Erlang OTP R16B

Upgraded mochiweb to version 2.4.2, so that it doesn't
require parametrized modules (removed from R16B) and
remove the unused etap_web and et

CBD-790 Build and run on Erlang OTP R16B

Upgraded mochiweb to version 2.4.2, so that it doesn't
require parametrized modules (removed from R16B) and
remove the unused etap_web and etap_request modules,
because they used parametrized modules.

This change still allows to build and run with Erlang
versions R14x and R15x.

Change-Id: Ib108468334b08aa0a29605d22c28a347fb5577d5
Reviewed-on: http://review.couchbase.org/25265
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

Revision tags: 2.0.1-linux
5938ee3018-Dec-2012 Sriram Melkote <siri@couchbase.com>

MB-7390: Fix vulnerability by porting fix for Mochiweb Issue 92

The vulnerability of accessing arbitrary files via Mochiweb
is logged and fixed as issue #92 on Mochiweb. Port the same

MB-7390: Fix vulnerability by porting fix for Mochiweb Issue 92

The vulnerability of accessing arbitrary files via Mochiweb
is logged and fixed as issue #92 on Mochiweb. Port the same
fix to the copy of Mochiweb in our codebase. See issue at
https://github.com/mochi/mochiweb/issues/92

Change-Id: I3977a5296d2413fa7659b5e722c4103190602d0f
Reviewed-on: http://review.couchbase.org/23395
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Sriram Melkote <siri@couchbase.com>

show more ...

Revision tags: 2.0.0-couchbase
051c820705-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Use os:timestamp/0 instead of erlang:now/0

It's faster and consumes less CPU. Learned from WhatsApp
scaling presentation.

Change-Id: I6d44da4cec0c0129a77cb267125e2e6bf7b27539

Use os:timestamp/0 instead of erlang:now/0

It's faster and consumes less CPU. Learned from WhatsApp
scaling presentation.

Change-Id: I6d44da4cec0c0129a77cb267125e2e6bf7b27539
Reviewed-on: http://review.couchbase.org/14602
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

Revision tags: couchbase_1.2.0, couchbase_1.1.2, couchbase_1.1.2a, couchbase_1.1.1a, couchbase_1.1.1, couchbase_1.1, couchbase_1.1b, hosting_v1.0.2r3, couchone_v1.0.2r3_geo, couchone_v1.0.2r3, v0.1.0, 0.1.0, couchone_v1.0.2r1, geocouch_v1.0.2r1, hosting_v1.0.2r2, hosting_v1.0.2r2_geo, hosting_geo-bulk, 1.0.2, hosting_1.0.1_geo2
ef24b1d130-Nov-2010 Robert Newson <rnewson@apache.org>

Upgrade to Mochiweb 1.4.1.

Modifications from upstream

1) Makefile is replaced by Makefile.am
2) mochiweb.app.in is custom to us.

git-svn-id: https://svn.apache.org/rep

Upgrade to Mochiweb 1.4.1.

Modifications from upstream

1) Makefile is replaced by Makefile.am
2) mochiweb.app.in is custom to us.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1040473 13f79535-47bb-0310-9956-ffa450edef68

show more ...

90f9f46a27-Nov-2010 Jan Lehnardt <jan@apache.org>

Merge branch 'optional-nm' into trunk

* optional-nm:
Make +native compilation of mochijson2.erl a ./configure option.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trun

Merge branch 'optional-nm' into trunk

* optional-nm:
Make +native compilation of mochijson2.erl a ./configure option.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1039679 13f79535-47bb-0310-9956-ffa450edef68

show more ...

faeb6cd626-Nov-2010 Jan Lehnardt <jan@apache.org>

Compile mochijson2 with +native.

Improves latency and req/s for many concurrent writers and large docs.

Does not affect other scenarios negatively.

Slight overall performan

Compile mochijson2 with +native.

Improves latency and req/s for many concurrent writers and large docs.

Does not affect other scenarios negatively.

Slight overall performance increase.

Closes COUCHDB-798.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1039494 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: hosting_v1.0.2, hosting_1.0.x_sammy
0264c51d12-Nov-2010 Filipe David Borba Manana <fdmanana@apache.org>

Backporting issue 21 from the official Mochiweb repository:
correctly determining (as specified by RFC2616) if a request accepts a specific media type for the Content-Type of the response.

Backporting issue 21 from the official Mochiweb repository:
correctly determining (as specified by RFC2616) if a request accepts a specific media type for the Content-Type of the response.

https://github.com/mochi/mochiweb/issues/closed#issue/21



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1034553 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: hosting_geo-separate, geocouch_bulk_insertion, hosting_trunk_geo, sling_rewrite, 1.0.1_hosting_dbname
cce81d8931-Aug-2010 Adam Kocoloski <kocolosk@apache.org>

validate input strings containing escape characters, COUCHDB-875

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@991073 13f79535-47bb-0310-9956-ffa450edef68

Revision tags: geocouch_hosting_trunk2
6f77afd425-Aug-2010 Robert Newson <rnewson@apache.org>

COUCHDB-161 - range support. Adhere closer to the spec. correct range parsing error in mochiweb.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988866 13f79535-47bb-0310-9956-ffa

COUCHDB-161 - range support. Adhere closer to the spec. correct range parsing error in mochiweb.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988866 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: 1.0.1_hosting_4, 1.0.1_hosting_replication-fix, 1.0.1
e887c9b210-Aug-2010 Robert Newson <rnewson@apache.org>

add internal.hrl to INTERNAL_DIST. mea culpa.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@984192 13f79535-47bb-0310-9956-ffa450edef68

Revision tags: 1.0.1_hosting_3, 1.0.1_hosting_try2, 0.11.2, 1.0.1_hosting, diplomathesis
4b0948dd26-Jul-2010 Robert Newson <rnewson@apache.org>

Add SSL support to CouchDB.

To enable SSL you need to do three things;

1) enable the httpsd daemon in local.ini (you can just uncomment the line).
2) supply your PEM-encoded cer

Add SSL support to CouchDB.

To enable SSL you need to do three things;

1) enable the httpsd daemon in local.ini (you can just uncomment the line).
2) supply your PEM-encoded cert and key files in the [ssl] section.
3) start CouchDB.

CouchDB will now, in addition to handling HTTP on port 5984, accept SSL connections on port 6984.

The patch itself adds SSL support by updating the local version of Mochiweb to the latest. The upstream release includes our local tweak to support large numbers and to handle Accept-Encoding headers. Our local Mochiweb fork changed the default idle timeout from 10 seconds to 5 minutes, and it was agreed on #irc to revert this change.

The only tweaks to Mochiweb were in mochiweb.app.src (to record the git commit I built from) and the removal of Makefile (replaced by Makefile.am).

Futon received many tweaks as we have 'http://' hardcoded all over. All such instances now use window.location.protocol + '//'.

CouchDB received a tweak to use the right scheme in couch_httpd:absolute_uri (it now gets it from the Mochireq and not mochiweb_socket_server).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979368 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: geocouch_0.11_hosting, trunk_hosting_sling, 1.0.0, 0.11.1
1448ec8c24-Jun-2010 John Christopher Anderson <jchris@apache.org>

patch mochijson2 to allow output of big integers not in float form (it stores them just fine)

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957656 13f79535-47bb-0310-9956-ffa450

patch mochijson2 to allow output of big integers not in float form (it stores them just fine)

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957656 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: 0.10.2, 0.11.0
ee09a0de29-Jan-2010 John Christopher Anderson <jchris@apache.org>

Allow storing attachments in compressed form. Closes COUCHDB-583. Thanks Filipe Manana

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904650 13f79535-47bb-0310-9956-ffa450edef68

Revision tags: ubuntuonetwo-patches
22c551bb16-Dec-2009 Paul Joseph Davis <davisp@apache.org>

Provide Content-MD5 header support for attachments.

Fixes COUCHDB-558.

Thanks to Filipe Manana we now have checks for attachment transfer integrity
using the Content-MD5 header

Provide Content-MD5 header support for attachments.

Fixes COUCHDB-558.

Thanks to Filipe Manana we now have checks for attachment transfer integrity
using the Content-MD5 header (or trailer). Use of this integrity check is
triggered by specifying a Content-MD5 header in your request with a value that
is a base64 encoded md5. For requests that are using a chunked Transfer-Encoding
it is also possible to use a trailer so that the Content-MD5 doesn't need to be
known before transfer. This works by specifying a header "Trailer:
Content-MD5" and then in the final chunk (the one with a size of zero) you can
specify a Content-MD5 with exactly the same format as in the request headers.

See the ETap test 130-attachments-md5.t for explicit examples of the request
messages.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@891077 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: 0.9.2, 0.10.1
3a4fad0721-Nov-2009 Adam Kocoloski <kocolosk@apache.org>

upgrade mochiweb to r113, use hooks instead of forking mochijson2. COUCHDB-474

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882941 13f79535-47bb-0310-9956-ffa450edef68

627481ee13-Nov-2009 Damien F. Katz <damien@apache.org>

Initial check-in of APIs for multiple/related supported and incremental replication of only changed attachments. Needs more far more testing and to be hooked up the replicator.

git-svn-id: h

Initial check-in of APIs for multiple/related supported and incremental replication of only changed attachments. Needs more far more testing and to be hooked up the replicator.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835981 13f79535-47bb-0310-9956-ffa450edef68

show more ...

2e3d4ea209-Nov-2009 Adam Kocoloski <kocolosk@apache.org>

wait 5 minutes before assuming a connection is stale

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@834212 13f79535-47bb-0310-9956-ffa450edef68

e29a192409-Nov-2009 Paul Joseph Davis <davisp@apache.org>

Fixes 'make distcheck' to run the test suite.

Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them.



Fixes 'make distcheck' to run the test suite.

Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833951 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: 0.10.0
219cd4db23-Sep-2009 Adam Kocoloski <kocolosk@apache.org>

reject attempts to upload invalid UTF-8 JSON. Closes COUCHDB-345

This patch requires JSON to be encoded using UTF-8. In the future we will
accept other encodings. Thanks Joan Touzet a

reject attempts to upload invalid UTF-8 JSON. Closes COUCHDB-345

This patch requires JSON to be encoded using UTF-8. In the future we will
accept other encodings. Thanks Joan Touzet and James Dumay for the bug reports
and Curt Arnold for patches and discussion.


git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@818249 13f79535-47bb-0310-9956-ffa450edef68

show more ...

678512dc21-Aug-2009 Christopher Lenz <cmlenz@apache.org>

Back out Mochiweb patch from r659636 to support older Erlang versions, as those are no longer supported by CouchDB anyway.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806513 1

Back out Mochiweb patch from r659636 to support older Erlang versions, as those are no longer supported by CouchDB anyway.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806513 13f79535-47bb-0310-9956-ffa450edef68

show more ...

8e2215ee04-Aug-2009 Damien F. Katz <damien@apache.org>

Initial check-in of OAuth and cookie authentication.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800938 13f79535-47bb-0310-9956-ffa450edef68

12