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
I feel like I am missing something, but I don't see a reason why there is a need to have incompatible types for the endpoints.
With QUIC in general and quinn in particular it is totally fine to issue a connect from an endpoint that is also accepting connections. Why isn't it allowed in wtransport?
The text was updated successfully, but these errors were encountered:
Merely design choice: to have a more user-friendly API interface.
Users might find confusing to have same endpoint working both server and client, in particular considering two different incompatible type for configuration are anyway required.
quinn panics/returns error when Endpoint is used without providing the proper configuration type before, introducing a mutable state (which might leads inconsistent program states).
Considering (from my point of view) having overlapping Endpoint does not bring enough benefits comparing to the possible bad design, I preferred to have this stateless, less error-prone design.
I feel like I am missing something, but I don't see a reason why there is a need to have incompatible types for the endpoints.
With QUIC in general and
quinn
in particular it is totally fine to issue a connect from an endpoint that is also accepting connections. Why isn't it allowed inwtransport
?The text was updated successfully, but these errors were encountered: