Chromium Code Reviews
DescriptionFix peer addresses being reported raw rather than the actual address byte.
The struct sockaddr containing the remote address was being reported
rather than the actual sin_addr / sin6_addr fields. Use the ToTypedData
utility function to return the real address bytes as a dart list. Before
this fix all remote addresses would be reported (on Linux) as 2.0.x.y where
2.0 means IPv4 and x.y are the remote port in big endian, i.e. the first
four bytes of struct sockaddr.
R=rmacnak@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/a8b549833389727af6643979148efadfaea100bf
Patch Set 1 #Patch Set 2 : Add testcases #
Messages
Total messages: 6 (3 generated)
|
|||||||||||||||||||||||||||||||||||||