Skip to content

What's the reasoning behind having a connection initialization timeout #159

Answered by enisdenjo
edwardfeng-db asked this question in Q&A
Discussion options

You must be logged in to vote

Mainly security. If the connection is not acknowledged, the client has no business being connected to the server.

It also prevents DDoS attacks simply because if there were no timeout, you could just connect millions of clients that never connection_init and they will just stay connected on the server forever, never being kicked out, consuming resources and potentially slowing down the service.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@edwardfeng-db
Comment options

@enisdenjo
Comment options

@enisdenjo
Comment options

Answer selected by edwardfeng-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants