net: ParseIP return 16 bytes length IP for IPv4 address #40606
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
net.ParseIP
parse the IPv4 address into 4 bytes length IP result, but converts it into a 16 bytes length redundantly.Below is the relative code in
net/ip.go
Suppose we can return
p
directly without transfer inparseIPv4
?The text was updated successfully, but these errors were encountered: