Implement most of browse; fix a couple obvious bugs; some cleanup

This commit is contained in:
Matthew Holt
2019-05-20 15:46:34 -06:00
parent 043eb1d9e5
commit 22995e5655
5 changed files with 832 additions and 196 deletions

View File

@ -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",