Our dialer sets up TCP options

This commit is contained in:
Audrius Butkevicius
2015-10-16 19:18:22 +01:00
parent abbcd1f436
commit e4e3c19e96
4 changed files with 7 additions and 17 deletions

View File

@@ -9,7 +9,6 @@ package relay
import (
"crypto/tls"
"encoding/json"
"net"
"net/http"
"net/url"
"sort"
@@ -249,11 +248,6 @@ func (r *invitationReceiver) Serve() {
continue
}
err = osutil.SetTCPOptions(conn.(*net.TCPConn))
if err != nil {
l.Infoln(err)
}
var tc *tls.Conn
if inv.ServerSocket {