mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
lnrpc: enable RPC middleware in REST WebSockets
If we don't flag the /v1/middleware call as request streaming, it can't be used properly with REST WebSockets because the proxy would close the connection after the first request message.
This commit is contained in:
parent
af47943f52
commit
66258ee7b5
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ var (
|
|||
regexp.MustCompile("^/v1/channels/acceptor$"),
|
||||
regexp.MustCompile("^/v1/channels/transaction-stream$"),
|
||||
regexp.MustCompile("^/v2/router/htlcinterceptor$"),
|
||||
regexp.MustCompile("^/v1/middleware$"),
|
||||
}
|
||||
|
||||
// MaxGrpcMsgSize is used when we configure both server and clients to
|
||||
|
|
Loading…
Add table
Reference in a new issue