File tree Expand file tree Collapse file tree 5 files changed +23
-6
lines changed Expand file tree Collapse file tree 5 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -66,13 +66,15 @@ Lightning Terminal is backwards compatible with `lnd` back to version v0.11.1-be
66
66
67
67
| LiT | LND |
68
68
| ---------------- | ------------ |
69
+ | ** v0.3.1-alpha** | v0.11.1-beta |
69
70
| ** v0.3.0-alpha** | v0.11.1-beta |
70
71
| ** v0.2.0-alpha** | v0.11.0-beta |
71
72
72
73
## Daemon Versions packaged with LiT
73
74
74
75
| LiT | LND | Loop | Faraday | Pool |
75
76
| ---------------- | ------------ | ----------- | ------------ | ---------------|
77
+ | ** v0.3.1-alpha** | v0.11.1-beta | v0.11.1-beta | v0.2.2-alpha | v0.3.3-alpha |
76
78
| ** v0.3.0-alpha** | v0.11.1-beta | v0.11.0-beta | v0.2.2-alpha | v0.3.2-alpha |
77
79
| ** v0.2.0-alpha** | v0.11.1-beta | v0.10.0-beta | v0.2.1-alpha | n/a |
78
80
| ** v0.1.1-alpha** | v0.11.0-beta | v0.8.1-beta | v0.2.0-alpha | n/a |
Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ For `lnd`:
149
149
After:
150
150
151
151
``` text
152
+ # New flag to tell LiT to run its own lnd in integrated mode. We need to set
153
+ # this because "remote" is the new default value if we don't specify anything.
154
+ lnd-mode=integrated
155
+
152
156
# Application Options
153
157
lnd.alias=merchant
154
158
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
11
11
github.com/lightninglabs/faraday v0.2.2-alpha
12
12
github.com/lightninglabs/lndclient v0.11.0-3
13
13
github.com/lightninglabs/loop v0.11.1-beta
14
- github.com/lightninglabs/pool v0.3.2 -alpha
14
+ github.com/lightninglabs/pool v0.3.3 -alpha
15
15
github.com/lightningnetwork/lnd v0.11.1-beta
16
16
github.com/lightningnetwork/lnd/cert v1.0.3
17
17
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
Original file line number Diff line number Diff line change @@ -235,8 +235,8 @@ github.com/lightninglabs/loop v0.11.1-beta/go.mod h1:xZfGG0AbxwAoarGGLeEl8TEzGm/
235
235
github.com/lightninglabs/neutrino v0.11.0 /go.mod h1:CuhF0iuzg9Sp2HO6ZgXgayviFTn1QHdSTJlMncK80wg =
236
236
github.com/lightninglabs/neutrino v0.11.1-0.20200316235139-bffc52e8f200 h1:j4iZ1XlUAPQmW6oSzMcJGILYsRHNs+4O3Gk+2Ms5Dww =
237
237
github.com/lightninglabs/neutrino v0.11.1-0.20200316235139-bffc52e8f200 /go.mod h1:MlZmoKa7CJP3eR1s5yB7Rm5aSyadpKkxqAwLQmog7N0 =
238
- github.com/lightninglabs/pool v0.3.2 -alpha h1:5wIXMBAPqxf7vQSRG/PUfrg47kfRssRGsBW+586Uk1k =
239
- github.com/lightninglabs/pool v0.3.2 -alpha /go.mod h1:a955Z6GMXMUZWWbm0ytzVWKxU2uighi1h8PZrjFwmhI =
238
+ github.com/lightninglabs/pool v0.3.3 -alpha h1:WqCw+9jU6atIxlzau6r08xmiJB9CcWrwdpIgU+1/Zh8 =
239
+ github.com/lightninglabs/pool v0.3.3 -alpha /go.mod h1:a955Z6GMXMUZWWbm0ytzVWKxU2uighi1h8PZrjFwmhI =
240
240
github.com/lightninglabs/protobuf-hex-display v1.3.3-0.20191212020323-b444784ce75d h1:QWD/5MPnaZfUVP7P8wLa4M8Td2DI7XXHXt2vhVtUgGI =
241
241
github.com/lightninglabs/protobuf-hex-display v1.3.3-0.20191212020323-b444784ce75d /go.mod h1:KDb67YMzoh4eudnzClmvs2FbiLG9vxISmLApUkCa4uI =
242
242
github.com/lightningnetwork/lightning-onion v1.0.2-0.20200501022730-3c8c8d0b89ea h1:oCj48NQ8u7Vz+MmzHqt0db6mxcFZo3Ho7M5gCJauY/k =
Original file line number Diff line number Diff line change @@ -555,9 +555,20 @@ func (g *LightningTerminal) startMainWebServer() error {
555
555
// Create and start our HTTPS server now that will handle both gRPC web
556
556
// and static file requests.
557
557
g .httpServer = & http.Server {
558
- WriteTimeout : defaultServerTimeout ,
559
- ReadTimeout : defaultServerTimeout ,
560
- Handler : http .HandlerFunc (httpHandler ),
558
+ // To make sure that long-running calls and indefinitely opened
559
+ // streaming connections aren't terminated by the internal
560
+ // proxy, we need to disable all timeouts except the one for
561
+ // reading the HTTP headers. That timeout shouldn't be removed
562
+ // as we would otherwise be prone to the slowloris attack where
563
+ // an attacker takes too long to send the headers and uses up
564
+ // connections that way. Once the headers are read, we either
565
+ // know it's a static resource and can deliver that very cheaply
566
+ // or check the authentication for other calls.
567
+ WriteTimeout : 0 ,
568
+ IdleTimeout : 0 ,
569
+ ReadTimeout : 0 ,
570
+ ReadHeaderTimeout : defaultServerTimeout ,
571
+ Handler : http .HandlerFunc (httpHandler ),
561
572
}
562
573
httpListener , err := net .Listen ("tcp" , g .cfg .HTTPSListen )
563
574
if err != nil {
You can’t perform that action at this time.
0 commit comments