Archived
Use new method name
This commit is contained in:
1 parent
9b85a6fb7c
commit
041b97dd25
1 file changed
+1
-1
@@ -31,7 +31,7 @@ func listener(addr string, config *tls.Config) {
|
||||
listener := tlsutil.DowngradingListener{tcpListener, nil}
|
||||
|
||||
for {
|
||||
conn, isTLS, err := listener.AcceptNoWrap()
|
||||
conn, isTLS, err := listener.AcceptNoWrapTLS()
|
||||
if err != nil {
|
||||
if debug {
|
||||
log.Println(err)
|
||||
|
||||
Reference in new issue
Block a user