-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework dial
and accept
to return Session
#565
Conversation
39645a8
to
5419784
Compare
d1b74b9
to
f966933
Compare
f966933
to
50d3b27
Compare
50d3b27
to
fa27f55
Compare
fa27f55
to
08e9f5c
Compare
I've updated this on the latest unstable, though we should maybe hold off on this for a little while, until we have a better overview of the conn manager |
Latest commit adds direction parameter to Session.getStream(), so that I can support both outgoing and incoming streams in Quic. |
44bb234
to
9d23e09
Compare
Also adds list of Sessions to TcpTransport, which will replace clients list eventually.
Also adds list of Sessions to WsTransport, which will replace clients list eventually.
These have been replaced by sessions and sessionHandler.
This error code indicates that server socket is already closed, so we raise a TransportClosedError. Fixes CI failure in Windows.
Quic allows opening outgoing or accepting incoming streams.
9d23e09
to
0c5b832
Compare
Closed in favor of #725 |
This changes
Transport.dial()
andTransport.accept()
to return aSession
instead of aConnection
. AConnection
can be obtained by callinggetStream()
on theSession
object.This is in preparation for integration of QUIC (#563). In QUIC opening a connection and opening a stream are separate operations.