couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Stapelberg (JIRA)" <>
Subject [jira] Created: (COUCHDB-879) [PATCH] Replication fails due to {stream_to, {self(), once}} parameter
Date Mon, 06 Sep 2010 21:07:33 GMT
[PATCH] Replication fails due to {stream_to, {self(), once}} parameter

                 Key: COUCHDB-879
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
    Affects Versions: 1.0.1
         Environment: Linux midna #2 SMP Tue Feb 16 20:27:34 CET 2010 x86_64

            Reporter: Michael Stapelberg
         Attachments: couchdb-replication.patch

When testing replication (with SSL and apache's mod_proxy, so you might need the patch from
#878) I noticed that erlang's ssl sometimes needs to send multiple messages. However, due
to the {stream_to, {self(), once}} option when calling ibrowse, only the first message gets
delivered (which includes only the first chunk). When modifying the option to {stream_to,
self()}, replication works fine.

Please thoroughly check the attached patch for side-effects (I'm not sure why {self(), once}
was used in the first place).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message