#14 server can error out while establishing connection

닫힘
j3tracey1 년 전을 오픈 · 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명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.