diff --git a/src/croc/croc_test.go b/src/croc/croc_test.go index fd81efe..eab38c6 100644 --- a/src/croc/croc_test.go +++ b/src/croc/croc_test.go @@ -28,6 +28,7 @@ func sendAndReceive(t *testing.T, forceSend int, local bool) { defer wg.Done() c := Init(true) c.NoLocal = !local + // c.AddressTCPPorts = []string{"8154", "8155"} c.ForceSend = forceSend c.UseCompression = true c.UseEncryption = true @@ -40,6 +41,7 @@ func sendAndReceive(t *testing.T, forceSend int, local bool) { os.Chdir("test") c := Init(true) c.NoLocal = !local + // c.AddressTCPPorts = []string{"8154", "8155"} c.ForceSend = forceSend startTime = time.Now() assert.Nil(t, c.Receive(room)) diff --git a/src/sender/sender.go b/src/sender/sender.go index 43b1b32..caed83d 100644 --- a/src/sender/sender.go +++ b/src/sender/sender.go @@ -180,7 +180,6 @@ func send(forceSend int, serverAddress string, tcpPorts []string, isLocal bool, currentPostition := int64(0) for { bytesread, err := f.Read(buffer) - log.Debug(bytesread, err) if bytesread > 0 { // do compression var compressedBytes []byte