#14 server can error out while establishing connection

Geschlossen
vor 1 Jahr geöffnet von j3tracey · 1 Kommentare
Justin Tracey kommentierte vor 1 Jahr

The main loop of the server is currently using ? on incoming connections. While this is fine for bind, since there's nothing reasonable to do if that fails, it's not okay for handling accept or parse_identifier, since that means a client can crash the server by disconnecting any time before their identifier gets sent over the wire.

The main loop of the server is currently using `?` on incoming connections. While this is fine for `bind`, since there's nothing reasonable to do if that fails, it's not okay for handling `accept` or `parse_identifier`, since that means a client can crash the server by disconnecting any time before their identifier gets sent over the wire.
Justin Tracey kommentierte vor 1 Jahr
Besitzer

Fixed via 22de85567f

Fixed via 22de85567f6f9bad0b971dd1c1247ca704fcce8d
j3tracey hat vor 1 Jahr geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.