mirror of https://github.com/schollz/croc.git
bug fix: return if found error
This commit is contained in:
parent
3bcc83a8fc
commit
79f85fda9b
|
@ -102,6 +102,7 @@ func (s *server) run() (err error) {
|
||||||
room, errCommunication := s.clientCommunication(port, c)
|
room, errCommunication := s.clientCommunication(port, c)
|
||||||
if errCommunication != nil {
|
if errCommunication != nil {
|
||||||
log.Debugf("relay-%s: %s", connection.RemoteAddr().String(), errCommunication.Error())
|
log.Debugf("relay-%s: %s", connection.RemoteAddr().String(), errCommunication.Error())
|
||||||
|
return
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
// check connection
|
// check connection
|
||||||
|
|
Loading…
Reference in New Issue