lnd/docs
Oliver Gugger 4b7452a35e
lnrpc+itest: fix write deadline issue with WS ping
Fixes #5680.
To make sure we're always reading from the WebSocket connection, we need
to always have an ongoing (but blocking) conn.ReadMessage() call going
on. To achieve this, we do the read in a separate goroutine and write to
a buffered channel. That way we can always read the next message while
the current one is being forwarded. This allows incoming ping messages
to be received and processed which then leads to the deadlines to be
extended correctly.
2021-09-20 12:21:03 +02:00
..
grpc Replacing deprecated import with recommended replacement 2021-08-07 11:07:48 +02:00
release-notes lnrpc+itest: fix write deadline issue with WS ping 2021-09-20 12:21:03 +02:00
rest docs+lnrpc: enable bi-directional WebSockets 2021-04-29 10:39:12 +02:00
code_contribution_guidelines.md Merge pull request #5627 from Zero-1729/patch-3 2021-08-30 19:23:43 -07:00
configuring_tor.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
debugging_lnd.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
DOCKER.md docs: bump docker lnd dev and testing version 2021-06-21 20:58:19 -04:00
etcd.md Merge pull request #4878 from bhandras/etcd_doc_fix 2021-05-03 18:56:42 -07:00
fuzz.md docs: update fuzz.md to explain new build/run process 2021-06-16 12:49:26 -04:00
INSTALL.md docs: remove warning about pruned nodes 2021-07-23 14:27:13 +02:00
key_import.md docs: add introductory documentation for new key import feature 2021-05-21 14:39:35 -07:00
leader_election.md docs: leader election docs 2021-07-06 16:21:26 +02:00
macaroons.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
MAKEFILE.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
nat_traversal.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
psbt.md docs: add BatchOpenChannel to PSBT doc and release notes 2021-09-03 18:39:45 +02:00
recovery.md docs: fix inconsistent naming of channel.backup [skip ci] 2021-08-12 00:26:53 +02:00
release.md docs+scripts: switch to detached signatures 2021-02-15 10:33:20 +01:00
ruby-thing.rb docs: update contribution guidelines to add section on commit structure 2018-12-18 20:59:46 -08:00
safety.md docs: update safety warning in migration guide [skip ci] 2021-09-06 11:00:36 +02:00
wallet.md docs: add wallet management doc, fix markup in INSTALL doc 2021-05-06 12:23:46 +02:00
watchtower.md lnrpc+lncli: deprecate sat_per_byte and add sat_per_vbyte 2021-03-26 17:16:40 +08:00