-
Notifications
You must be signed in to change notification settings - Fork 14
Investigate Session.Close #41
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestinvestigationNeeds some time to invesigate an isssueNeeds some time to invesigate an isssue
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinvestigationNeeds some time to invesigate an isssueNeeds some time to invesigate an isssue
I am pretty sure
session.Closeas implemented is a bit wrong. We are properly using<close-session>rpc message to gracefully close the session with the netconf server, however then we are closing the transports as well.This should probably be modified to
close-sessionTransport is constructed outside of the session and passed in, it is a bit crazy that we automatically close it when the session is done as well. This is also needed to allow for transport reuse potentially.