]> Sergey Matveev's repositories - public-inbox.git/commit
ds: use MSG_MORE when wbuf is empty during long responses
authorEric Wong <e@80x24.org>
Sat, 28 Dec 2019 20:55:16 +0000 (20:55 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Dec 2019 21:42:51 +0000 (21:42 +0000)
commitac1ac3b4e2858bcee5a644aac8b6320422ea7383
treeadc43631dfc65dd6473aba8d190c66b29a52b8eb
parent3647997eaf49410bbf3e33bfb3874c611ab0c38b
ds: use MSG_MORE when wbuf is empty during long responses

HTTP::getline_pull and NNTP::long_step will both populate {wbuf}
manually to avoid recursion, so we need to account for an
empty-but-present {wbuf} while dispatching msg_more().
lib/PublicInbox/DS.pm