Replies: 1 comment 2 replies
-
Hey. Thanks for filling the issue. Yes, we could pontentially return Any better ideas @caspervonb ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Asking a server for info obviously only works if the server was previously / is currently connected. Before it was connected, default 0 values are returned. This can lead to problems if you use a maximum payload size of 0 :)
The solution for this is to wait until an
Event::Connected
, but of course this is not visible in the API. Perhaps it would make sense to expose this fact in the API somehow, for example by returning an Option from server_info? not sure.Beta Was this translation helpful? Give feedback.
All reactions