|
@@ -19,6 +19,7 @@ import (
|
|
|
"crypto/tls"
|
|
"crypto/tls"
|
|
|
"fmt"
|
|
"fmt"
|
|
|
"io/ioutil"
|
|
"io/ioutil"
|
|
|
|
|
+ "log"
|
|
|
"math/rand"
|
|
"math/rand"
|
|
|
"net"
|
|
"net"
|
|
|
"net/http"
|
|
"net/http"
|
|
@@ -485,6 +486,7 @@ func testServerHTTP(t *testing.T, secure, delayTx bool) {
|
|
|
Addr: dstAddr,
|
|
Addr: dstAddr,
|
|
|
Handler: mux,
|
|
Handler: mux,
|
|
|
TLSConfig: tlsConfig,
|
|
TLSConfig: tlsConfig,
|
|
|
|
|
+ ErrorLog: log.New(ioutil.Discard, "net/http", 0),
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
donec := make(chan struct{})
|
|
donec := make(chan struct{})
|