Commit 6336d80
Follow BOLT1 handling for "no reply" pings: ignore, don't warn. (#3278)
These "oversize ping replies" are how we ask for no replies, such as when
we're sending dummy traffic. From the rationale:
This allows a convenient cutoff for `num_pong_bytes` to indicate that no reply should be sent.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Co-authored-by: t-bast <bastien@acinq.fr>1 parent e6c3d6e commit 6336d80
2 files changed
Lines changed: 4 additions & 6 deletions
File tree
- eclair-core/src
- main/scala/fr/acinq/eclair/io
- test/scala/fr/acinq/eclair/io
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
247 | 248 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | 249 | | |
252 | 250 | | |
253 | 251 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
0 commit comments