Subject: [dtn-users] [ dtn-Bugs-2936669 ] handle_contact_initiation() resets StreamLinkParams
From: "SourceForge.net" <[email-masked]>
To: [email-masked]
Date: Thu, 21 Jan 2010 22:53:31 +0000
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>

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