tun2: don't break pipes
This commit is contained in:
parent
9e0a91a438
commit
0a01896364
|
@ -148,7 +148,6 @@ func (s *Server) ListenAndServe() error {
|
|||
s.connlock.Lock()
|
||||
|
||||
for conn, c := range s.conns {
|
||||
conn.SetDeadline(time.Now().Add(1 * time.Second))
|
||||
req, err := http.NewRequest("GET", "http://backend/health", nil)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in New Issue