Skip to content

[Rust] Fixed a bug where new clients are only accepted in first 5 seconds#36

Merged
gafferongames merged 2 commits intomas-bandwidth:masterfrom
ryan-scott-dev:fix-rust-server
May 24, 2017
Merged

[Rust] Fixed a bug where new clients are only accepted in first 5 seconds#36
gafferongames merged 2 commits intomas-bandwidth:masterfrom
ryan-scott-dev:fix-rust-server

Conversation

@ryan-scott-dev
Copy link
Contributor

Fixed a bug where new clients were only able to be accepted by the server within the first 5 seconds of the server starting.

After the server had been running for 5 seconds, any new connections were immediately timed out before the connection could be accepted.

I also exposed token::DecodeError so that failed attempts to decode the ConnectToken can be handled more gracefully by the calling code.

@gafferongames
Copy link
Contributor

Awesome. Thanks!

@gafferongames gafferongames merged commit 22aeb4b into mas-bandwidth:master May 24, 2017
@gafferongames
Copy link
Contributor

ps. This is a real gotcha. I had the exact same error in my C implementation, which is unrelated!

@ryan-scott-dev ryan-scott-dev deleted the fix-rust-server branch May 24, 2017 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants