mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-22 16:07:31 +00:00
Remove debug lines
This commit is contained in:
parent
516fcce6b3
commit
423fc248d2
@ -3,7 +3,6 @@ package core
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
"net"
|
||||
"net/url"
|
||||
"time"
|
||||
@ -53,12 +52,10 @@ func (l *links) newLinkQUIC() *linkQUIC {
|
||||
func (l *linkQUIC) dial(url *url.URL, info linkInfo, options linkOptions) (net.Conn, error) {
|
||||
qc, err := quic.DialAddrEarly(url.Host, l.tlsconfig, l.quicconfig)
|
||||
if err != nil {
|
||||
fmt.Println("Dial error:", err)
|
||||
return nil, err
|
||||
}
|
||||
qs, err := qc.OpenStream()
|
||||
if err != nil {
|
||||
fmt.Println("Stream error:", err)
|
||||
return nil, err
|
||||
}
|
||||
return &linkQUICStream{
|
||||
|
Loading…
x
Reference in New Issue
Block a user