diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-20 15:46:34 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-20 15:46:52 -0600 |
commit | 22995e5655b3d5117743d98bf5c7ba8ed335a2c5 (patch) | |
tree | f13543b62f6b6d082a845355ccc30dcbec3bf582 /modules/caddyhttp/caddyhttp.go | |
parent | 043eb1d9e5db456b9b78c0423cb44716fc81a932 (diff) |
Implement most of browse; fix a couple obvious bugs; some cleanup
Diffstat (limited to 'modules/caddyhttp/caddyhttp.go')
-rw-r--r-- | modules/caddyhttp/caddyhttp.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/caddyhttp.go b/modules/caddyhttp/caddyhttp.go index 379c8f2..41b0c66 100644 --- a/modules/caddyhttp/caddyhttp.go +++ b/modules/caddyhttp/caddyhttp.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "fmt" "log" - mathrand "math/rand" + weakrand "math/rand" "net" "net/http" "strconv" @@ -18,7 +18,7 @@ import ( ) func init() { - mathrand.Seed(time.Now().UnixNano()) + weakrand.Seed(time.Now().UnixNano()) err := caddy2.RegisterModule(caddy2.Module{ Name: "http", |