couchdb-ibrowse.git
4 years agoOTP shape master CouchDB-4.0.1
Robert Newson [Fri, 25 Apr 2014 10:41:45 +0000 (11:41 +0100)] 
OTP shape

5 years agoSupport SOCKS5 protocol for replication import-master
Robert Newson [Sat, 4 Jan 2014 17:32:00 +0000 (17:32 +0000)] 
Support SOCKS5 protocol for replication

Using "socks5" as the protocol in the "proxy" parameter of replication
requests will cause DNS resolution and data transfer to happen via a
SOCKS5 proxy server.

COUCHDB-2025

6 years agoupdate ibrowse to 4.0.1
Jan Lehnardt [Wed, 14 Nov 2012 19:13:52 +0000 (20:13 +0100)] 
update ibrowse to 4.0.1

6 years agoUpgrade get_crlf funs to use binary BIF
Bob Dionne [Wed, 24 Oct 2012 00:01:32 +0000 (20:01 -0400)] 
Upgrade get_crlf funs to use binary BIF

6 years agoWhitespace
Bob Dionne [Tue, 23 Oct 2012 23:50:08 +0000 (19:50 -0400)] 
Whitespace

7 years agoAdd support for replication over IPv6 (part 1)
Filipe David Borba Manana [Wed, 13 Apr 2011 08:50:58 +0000 (08:50 +0000)] 
Add support for replication over IPv6 (part 1)

This change upgrades ibrowse to version 2.2.0. This version adds support
for IPv6 (https://github.com/cmullaparthi/ibrowse/pull/34).
This is part of COUCHDB-665.

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

7 years agoUpgrade ibrowse to version 2.1.3
Filipe David Borba Manana [Thu, 20 Jan 2011 15:27:41 +0000 (15:27 +0000)] 
Upgrade ibrowse to version 2.1.3

This version fixes several bugs and adds a few minor improvements.
For a list and description of the changes relative to the previous
version, see the README file at:

https://github.com/cmullaparthi/ibrowse

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

8 years agoApplied 2 more ibrowse fixes already submitted upstream
Filipe David Borba Manana [Fri, 7 Jan 2011 17:15:24 +0000 (17:15 +0000)] 
Applied 2 more ibrowse fixes already submitted upstream

https://github.com/cmullaparthi/ibrowse/pull/24
https://github.com/cmullaparthi/ibrowse/pull/25

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

8 years agoUpgraded ibrowse to version 2.1.2 (released today)
Filipe David Borba Manana [Mon, 20 Dec 2010 12:32:49 +0000 (12:32 +0000)] 
Upgraded ibrowse to version 2.1.2 (released today)

This version fixes a blocking issue (which rarely happens) when using the same connection
(with ot without pipelining) for multiple requests using the option {stream_to, {pid(), once}}.

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

8 years agoUpgrade ibrowse to version 2.1.1
Filipe David Borba Manana [Sat, 18 Dec 2010 13:10:15 +0000 (13:10 +0000)] 
Upgrade ibrowse to version 2.1.1

This ibrowse release includes a few important fixes.
See https://github.com/cmullaparthi/ibrowse for the list of fixes.

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

8 years agoYet another ibrowse fix.
Filipe David Borba Manana [Fri, 12 Nov 2010 14:29:00 +0000 (14:29 +0000)] 
Yet another ibrowse fix.
Patch submitted upstream:  https://github.com/cmullaparthi/ibrowse/issues/issue/20

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

8 years agoUpdated ibrowse to version 2.1.0. It contains fixes for the following important issues:
Filipe David Borba Manana [Wed, 10 Nov 2010 13:34:16 +0000 (13:34 +0000)] 
Updated ibrowse to version 2.1.0. It contains fixes for the following important issues:

- https://github.com/cmullaparthi/ibrowse/issues/closed#issue/17
- https://github.com/cmullaparthi/ibrowse/issues/closed#issue/15
- https://github.com/cmullaparthi/ibrowse/issues/closed#issue/19

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

8 years agoFix ibrowse 2.0.x inactivity timeouts not getting cleared.
Filipe David Borba Manana [Wed, 3 Nov 2010 17:03:05 +0000 (17:03 +0000)] 
Fix ibrowse 2.0.x inactivity timeouts not getting cleared.
Patch submitted upstream: http://github.com/cmullaparthi/ibrowse/issues/#issue/17

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

8 years agoUpgrading ibrowse from version 1.6.2 to 2.0.1.
Filipe David Borba Manana [Fri, 24 Sep 2010 14:18:56 +0000 (14:18 +0000)] 
Upgrading ibrowse from version 1.6.2 to 2.0.1.
This version fixes a serious issue regarding streaming of chunked HTTP(S) responses.
The issue is that the client occasionally gets blocked or receives a timeout (if inactivity_timeout parameter is given to ibrowse).

This fixes part of ticket COUCHDB-491.

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

8 years agoCorrecting ibrowse version number.
Filipe David Borba Manana [Thu, 16 Sep 2010 10:08:17 +0000 (10:08 +0000)] 
Correcting ibrowse version number.

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

8 years agoBumping ibrowse library to version 1.6.2 (latest).
Filipe David Borba Manana [Sun, 15 Aug 2010 18:37:45 +0000 (18:37 +0000)] 
Bumping ibrowse library to version 1.6.2 (latest).
It has a few important bug fixes and new features, such as, for example:

1) fixes https requests not going via the proxy;
2) added SSL support for direct connections;
3) fixes to URL parsing;
4) added option headers_as_is

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

8 years agomore relaxed verification of SSL chains, COUCHDB-840
Adam Kocoloski [Thu, 29 Jul 2010 00:02:08 +0000 (00:02 +0000)] 
more relaxed verification of SSL chains, COUCHDB-840

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

8 years agoBackport warning fix from a future version of ibrowse.
Jan Lehnardt [Fri, 2 Jul 2010 14:01:56 +0000 (14:01 +0000)] 
Backport warning fix from a future version of ibrowse.

The current release makes our test suite fail and I don't
want to pester the 1.0.0 release cycle with this; yet I'd
like 1.0.0 (and 0.11.1) to be future proof for Erlang R14B.

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

9 years agoFixes 'make distcheck' to run the test suite.
Paul Joseph Davis [Mon, 9 Nov 2009 00:39:16 +0000 (00:39 +0000)] 
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

9 years agoSupport for replication over SSL. Resolves COUCHDB-491
Adam Kocoloski [Wed, 2 Sep 2009 03:40:44 +0000 (03:40 +0000)] 
Support for replication over SSL.  Resolves COUCHDB-491

This turned out to be a decent amount of work, since:

1) ibrowse did not use SSL on dedicated connections.  Wrote a simplistic patch,
   will contact Chandru for further discussion.
2) When nginx is used for the SSL wrapper, it wants to buffer the changes feed.
   Setting "proxy_buffering off" in nginx.conf helps, but some buffering still
   occurred. Fixed by making couch_rep_changes_feed smart enough to split
   merged chunks.
3) The Erlang ssl application showed instabilities when used with {active,once}.
   Switched to the "new implementation" using {ssl_imp, new} and instabilities
   disappeared.

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

9 years agoupgrade ibrowse to 1.5.2. Closes COUCHDB-451
Adam Kocoloski [Thu, 6 Aug 2009 14:26:16 +0000 (14:26 +0000)] 
upgrade ibrowse to 1.5.2.  Closes COUCHDB-451

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

9 years agoapply patch for chunking error from ibrowse 1.5.2
Adam Kocoloski [Tue, 4 Aug 2009 20:29:12 +0000 (20:29 +0000)] 
apply patch for chunking error from ibrowse 1.5.2

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

9 years agoupdate ibrowse to 1.5.1+
Adam Kocoloski [Fri, 17 Jul 2009 23:58:35 +0000 (23:58 +0000)] 
update ibrowse to 1.5.1+

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

9 years agowheeeeeeee
Noah Slater [Tue, 14 Jul 2009 20:21:39 +0000 (20:21 +0000)] 
wheeeeeeee

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

9 years agotrimmed trailing whitespace
Noah Slater [Mon, 6 Jul 2009 00:33:50 +0000 (00:33 +0000)] 
trimmed trailing whitespace

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

9 years agoibrowse now allows user to control socket. Thanks again Chandru
Adam Kocoloski [Fri, 3 Jul 2009 15:56:51 +0000 (15:56 +0000)] 
ibrowse now allows user to control socket.  Thanks again Chandru

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

9 years agoupgrade to ibrowse 1.5.0
Adam Kocoloski [Fri, 3 Jul 2009 00:58:13 +0000 (00:58 +0000)] 
upgrade to ibrowse 1.5.0

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

9 years agoAdded code coverage report generation target.
Paul Joseph Davis [Sat, 30 May 2009 21:12:06 +0000 (21:12 +0000)] 
Added code coverage report generation target.

To generate reports:

    # Assuming etap is installed
    $ cd /path/to/couchdb
    $ ./bootstrap && ERLC_FLAGS=+debug_info ./configure && make cover

You can browse the report by opening ./cover/index.html in your html consuming software of choice.

Shoutout to Nick Gerakines in THANKS for helping with etap and testing in general.

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

9 years agorewrite replicator using OTP behaviours
Adam Kocoloski [Sat, 7 Mar 2009 18:48:47 +0000 (18:48 +0000)] 
rewrite replicator using OTP behaviours

- only one instance of given source->target runs at a time
- supervisor restarts replications that terminate abnormally
- pull repl. streams attachments directly to disk
- improved memory utilization
- temporarily rollback parallel async doc GETs during pull rep.
- replication updates show up in Futon Status window

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

9 years agoFix `make distcheck` (which builds releases and nightlies)
Jan Lehnardt [Thu, 12 Feb 2009 15:52:37 +0000 (15:52 +0000)] 
Fix `make distcheck` (which builds releases and nightlies)

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

9 years agoReplacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.
John Christopher Anderson [Thu, 29 Jan 2009 22:15:48 +0000 (22:15 +0000)] 
Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.
Thanks Jason Davies and Adam Kocoloski for the fix, Maximillian Dornseif for reporting.

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