DescriptionMake unix socket Get{Peer|Local}Address return more rational errors.
Rather than return ERR_NOT_IMPLEMENTED it seems sensible to
return ERR_SOCKET_NOT_CONNECTED in the case that the socket
is not connected, but unconditionally return ERR_ADDRESS_INVALID
if connected (because there's no IP addr or port associated
with either end of the socket).
BUG=431412
Committed: https://crrev.com/ff494028c4d918f24ced2b718369ae194748d300
Cr-Commit-Position: refs/heads/master@{#310564}
Patch Set 1 #
Total comments: 2
Patch Set 2 : . #Messages
Total messages: 11 (4 generated)
|