diff --git a/src/croc/croc.go b/src/croc/croc.go index e11c08e..eacb0d7 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -376,8 +376,8 @@ func (c *Client) Send(options TransferOptions) (err error) { } else { log.Debugf("[%+v] got weird bytes: %+v", conn, data) // throttle the reading - time.Sleep(100 * time.Millisecond) - break + errchan <- fmt.Errorf("gracefully refusing using the public relay") + return } }