#14 server can error out while establishing connection

Закрыто
1 год назад открыта j3tracey · комментариев: 1
Justin Tracey прокомментировал 1 год назад

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 прокомментировал 1 год назад
Владелец

Fixed via 22de85567f

Fixed via 22de85567f6f9bad0b971dd1c1247ca704fcce8d
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.