mirror of
https://gitee.com/konyshe/goodlink.git
synced 2025-11-01 20:52:36 +08:00
u
This commit is contained in:
@@ -14,10 +14,10 @@ func ProcessProxyClient(listener net.Listener, stun_quic_conn quic.Connection) {
|
||||
for {
|
||||
new_tcp_conn, err := listener.Accept()
|
||||
if err == nil {
|
||||
log.Printf("ProcessProxyClient listener.Accept: %v==>%v\n", new_tcp_conn.RemoteAddr(), new_tcp_conn.LocalAddr())
|
||||
log.Printf("ProcessProxyClient listener.Accept: %v ==> %v\n", new_tcp_conn.RemoteAddr(), new_tcp_conn.LocalAddr())
|
||||
new_quic_stream, err := stun_quic_conn.OpenStreamSync(context.Background())
|
||||
if err == nil {
|
||||
log.Printf("ProcessProxyClient stun_quic_conn.OpenStreamSync: %v==>%v\n", stun_quic_conn.RemoteAddr(), stun_quic_conn.LocalAddr())
|
||||
log.Printf("ProcessProxyClient stun_quic_conn.OpenStreamSync: %v ==> %v\n", stun_quic_conn.RemoteAddr(), stun_quic_conn.LocalAddr())
|
||||
go stunT2QProcess1(new_tcp_conn, new_quic_stream, stun_quic_conn)
|
||||
go stunQ2TProcess1(new_quic_stream, new_tcp_conn, stun_quic_conn)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user