mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2026-04-07 23:53:30 +00:00
dont wait for response
This commit is contained in:
@@ -40,7 +40,7 @@ func (s *Session) listen() error {
|
||||
continue
|
||||
}
|
||||
|
||||
s.proxyFrom(buf[:n])
|
||||
go s.proxyFrom(buf[:n])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ func (c *Client) ListenAndServe() error {
|
||||
c.sessions[caddr.String()] = session
|
||||
}
|
||||
|
||||
session.proxyTo(buf[:n])
|
||||
go session.proxyTo(buf[:n])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user