Opened 13 years ago
#183 new enhancement
release the Negotiation instance after connection establishment
Reported by: | Brian Warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | negotiation | Version: | 0.6.1 |
Keywords: | Cc: |
Description
As mentioned in #173, the (large) Negotiation
instance should be deallocated after negotiation is complete. The fix for #173 broke this (if it actually worked before): the Negotiation
object will live as long as the connection stays up.
The fix will probably be to introduce a new, smaller Protocol
(named FoolscapProtocol
) which lives as long as the connection. It will start by delegating inbound .dataReceived
/.connectionLost
messages to the Negotiation
instance, then later switch to send them to the Banana
instance (releasing the Negotiation
).
Note: See
TracTickets for help on using
tickets.