mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
Implement most of browse; fix a couple obvious bugs; some cleanup
This commit is contained in:
parent
043eb1d9e5
commit
22995e5655
5 changed files with 832 additions and 196 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue