You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TCP connection setup/management and CASESession association.
Add TCPConnect()/TCPDisconnect() API for explicit connection setup.
Currently, connecting to a peer is coupled with sending a message to the
peer.
This decouples the two and creates a clear API for connecting to a peer
address. Goes along with the existing Disconnect() API.
This would be essential during activation of retained sessions by solely
connecting to the peer and associating with the retained session.
Surface Connection completion and Closure callbacks and hook them
through SessionManager(TransportMgr delegate) and CASESession.
Mark SecureSession as defunct on connection closures.
Modify ActiveConnectionState in TCPBase to hold state for each
connection, so that it is able to handle the various control flow paths.
Associate a session with a connection object.
Associate the PeerAddress with the session early. Pass the PeerAddress
in the Find APIs. This helps check against the correct TransportType
when searching for a Sesssion in the SessionTable.
Add a `large payload` flag in EstablishSession() and Session lookup
functions to create/associate with the correct session and transport.
Have default configurations for TCP in a separate TCPConfig.h.
Refactor echo_requester.cpp and echo_responder.cpp to use the session
associated with the connection.
Handle Connection closure at ExchangeMgr and uplevel to corresponding
ExchangeContext using the corresponding session handle.
Add tests around connection establishment in TestTCP.
0 commit comments