#14 server can error out while establishing connection

已關閉
j3tracey1 年之前創建 · 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 參與者
正在加載...
取消
保存
尚未有任何內容