Re: [PATCH] gcf2: improve error handling and do not ->fail on wbuf

2020-09-27 Thread Eric Wong
Putting words together to write commit messages is hard without enough sleep :< Anyways, revised and pushed as commit 8ba04f214bbadcbe106c94281a0c4c21dd50adb8 gcf2: improve error handling and do not ->fail on wbuf For historical reasons, both Danga::Socket::write and PublicInbox:

[PATCH] gcf2: improve error handling and do not ->fail on wbuf

2020-09-27 Thread Eric Wong
For historical reasons, both Danga::Socket::write and PublicInbox::DS::write will return 0 when data is buffered; so we Gcf2Client must not call ->fail when DS::write returns 0. We'll also improve robustness by recreating the entire Gcf2Client object if it does die for other reasons, instead of ri