commit | d0dc68901a9c175a36208bc84a1d9ab3451e2071 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Feb 08 13:50:00 2012 -0500 |
committer | Russ Cox <rsc@golang.org> | Wed Feb 08 13:50:00 2012 -0500 |
tree | b25cbaf8c1582905bc69011aaae336d13974b78f | |
parent | 49110eaa2203bc59c754bc2534ba11f969e448f6 [diff] |
net/http: panic on duplicate registrations Otherwise, the registration semantics are init-order-dependent, which I was trying very hard to avoid in the API. This may break broken programs. Fixes #2900. R=golang-dev, r, bradfitz, dsymonds, balasanjay, kevlar CC=golang-dev https://golang.org/cl/5644051