mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
We need to keep the remaining buffer, and we need to try to parse it before we read the next. I first tried keeping it in the object, but its lifetime is that of the *socket*, which we actually reopen for every command. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>