diff --git a/src/net/http/transfer.go b/src/net/http/transfer.go index 44cab8837c..675551287f 100644 --- a/src/net/http/transfer.go +++ b/src/net/http/transfer.go @@ -955,7 +955,7 @@ func mergeSetHeader(dst *Header, src Header) { *dst = src return } - maps.Copy((*dst), src) + maps.Copy(*dst, src) } // unreadDataSizeLocked returns the number of bytes of unread input.