]> Sergey Matveev's repositories - public-inbox.git/commit
msgmap: add limit to response for NNTP
authorEric Wong <e@80x24.org>
Tue, 24 Apr 2018 19:43:25 +0000 (19:43 +0000)
committerEric Wong <e@80x24.org>
Tue, 24 Apr 2018 19:43:34 +0000 (19:43 +0000)
commit77704e711685d119fde9d1737029e102c76c9a14
treed36cca21ff6ee42cd3575a8d02868994ce3c8e4b
parentf826a7830bce67c0f8c653baf97f7769bb2c57d9
msgmap: add limit to response for NNTP

All callers in expect to iterate through results.  This
was causing unfairness when fetching large ranges via XHDR
as rtin does :<

Fixes: b8c41362f2a5c8fc "nntp: simplify the long_response API"
lib/PublicInbox/Msgmap.pm