
Received: from ch3.sourceforge.net (ch3.sourceforge.net [216.34.181.60]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o0LMrVMw014110 for <dtn-users@mailman.dtnrg.org>; Thu, 21 Jan 2010 14:53:31 -0800
Received: from www by g45xhf1.ch3.sourceforge.com with local (Exim 4.69) (envelope-from <noreply@sourceforge.net>) id 1NY5u7-0004eT-Rh; Thu, 21 Jan 2010 22:53:31 +0000
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-SourceForge-Tracker-unixname: dtn
X-SourceForge-Tracker-trackerid: 630167
X-SourceForge-Tracker-itemid: 2936669
X-SourceForge-Tracker-itemstatus: Open
X-SourceForge-Tracker-itemassignee: nobody
X-SourceForge-Tracker-itemupdate-reason: Tracker Item Submitted
X-SourceForge-Tracker-itemupdate-username: nobody
Message-Id: <E1NY5u7-0004eT-Rh@g45xhf1.ch3.sourceforge.com>
Date: Thu, 21 Jan 2010 22:53:31 +0000
Subject: [dtn-users] [ dtn-Bugs-2936669 ] handle_contact_initiation() resets StreamLinkParams
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 21 Jan 2010 22:53:31 -0000

Bugs item #2936669, was opened at 2010-01-21 22:53
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2936669&group_id=101657

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Convergence layer
Group: v2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: handle_contact_initiation() resets StreamLinkParams

Initial Comment:
The first time you call StreamConvergenceLayer::Connection::process_data() it calls handle_contact_initiation() to initiate a new link.  Eventually, this method ends up calling new_link_params(), which will overwrite some of the parameters that handle_contact_initiation() previously set plus any link specific parameters you may have set such a the network address of the remote BPA that is trying to establish an ON_DEMAND link with you.  I encountered this problem with my custom convergence layer that is modelled after the TCPConvergenceLayer.  I have not had time to verify it on the TCPConvergenceLayer.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2936669&group_id=101657

