]> Cypherpunks repositories - gostls13.git/commit
net: use slightly less predictable dns request id
authorRuss Cox <rsc@golang.org>
Thu, 11 Feb 2010 00:35:35 +0000 (16:35 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 11 Feb 2010 00:35:35 +0000 (16:35 -0800)
commitc312d0e0cacb419a414578a7eb3fb56ceb3964e3
treeeeadebea6b2c1356b4140d80b4c26f54f51f7645
parent66cdc699b28c44a448a6a502b0ee69c9a942f959
net: use slightly less predictable dns request id

not trying to be secure, just not repetitive
(sending with the same id repeatedly makes
some resolvers stop replying.)

eventually we'll replace this with linking against
the system's native resolver.

R=p
CC=golang-dev
https://golang.org/cl/207051
src/pkg/net/dnsclient.go