mit-dci / lit

Lightning Network node software
MIT License
551 stars 119 forks source link

Timeout proxy lookups #399

Open Varunram opened 6 years ago

Varunram commented 6 years ago

We currently timeout most connections (see #398), but the proxy connection can't be timed out since its a bug / feature not in Go yet. We must do this since this would block control from proceeding further. There are some ugly ways to do this using channels and routines, but it'd be nice if go gives us a workaround we can use (or implement a timeout in the proxy.Dialer.Dual struct). Golang issue: https://github.com/golang/go/issues/27874

delbonis commented 6 years ago

276?

delbonis commented 6 years ago

oops didn't mean to close that!