]> Cypherpunks repositories - gostls13.git/commit
Revert "net: in (*netFD).dial, use the passed in local address if getsockname fails"
authorBryan Mills <bcmills@google.com>
Tue, 7 Dec 2021 20:34:46 +0000 (20:34 +0000)
committerBryan Mills <bcmills@google.com>
Wed, 8 Dec 2021 15:31:54 +0000 (15:31 +0000)
commit2c85fcd47d6804d94a1fa4da65f756200ecf57a8
tree53de00f9242f6bfb0a055e5a16d6387b4d113360
parent9fe77de3c198848b972915245e41ff26439b08aa
Revert "net: in (*netFD).dial, use the passed in local address if getsockname fails"

This reverts CL 366536

Reason for revert: may have caused #50033 due to an invalid or partially-populated *TCPAddr

Fixes #50033

Change-Id: Ia29ca4116503dba65d56e89caa46ba1c848d421a
Reviewed-on: https://go-review.googlesource.com/c/go/+/369982
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/server_test.go
src/net/sock_posix.go