Skip to content

Commit 4d2490f

Browse files
committed
Responded to Doug's comment
1 parent 037ad1e commit 4d2490f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/transport/handler_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request, stats []s
7777

7878
var localAddr net.Addr
7979
if la := r.Context().Value(http.LocalAddrContextKey); la != nil {
80-
localAddr = la.(net.Addr)
80+
localAddr, _ = la.(net.Addr)
8181
}
8282
var authInfo credentials.AuthInfo
8383
if r.TLS != nil {

0 commit comments

Comments
 (0)