Skip to content

Handle client connections in parallel with the master server connection #25

@Makosai

Description

@Makosai

Accepting connections:

  • In parallel with connecting to the master server, the cluster server should accept connections from clients. If the server has reached the max connections, it should send a Connection::Disconnect back to the client with a DisconnectReason::Full.

Handling connections:

  • When a connection is created, a ClusterClient should hold this connection. It should be in a tokio spawn. It may be more beneficial to figure out a way to do it in a thread so the work doesn't have to be scheduled. But a spawn is fine as a start.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No fields configured for Task.

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions