diff options
author | Eric Wong <e@80x24.org> | 2015-09-19 02:03:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-19 04:18:37 +0000 |
commit | 0d0fde0bff97a283e3b433f2772a99fe9d6d8412 (patch) | |
tree | 5ea275e787362cbb2d666b37722edb58d7683c39 /lib/PublicInbox/Msgmap.pm | |
parent | c6e35192bf5aa6b195e210674f9a30d189ab7457 (diff) | |
download | public-inbox-0d0fde0bff97a283e3b433f2772a99fe9d6d8412.tar.gz |
XOVER, NEWNEWS, XHDR responses may be arbitrarily long and cause memory usage via buffering. This problem would exist even if we were to optimize them by caching headers for fast retrieval and search. Introduce a generic API to handle all of these commands fairly without triggering excessive buffering and unfairness of the existing implementation. Generating these responses is still expensive for now, but at least the implementation is fair to other clients and prevents one client from using one of these commands to monopolize resources away from other clients.
Diffstat (limited to 'lib/PublicInbox/Msgmap.pm')
0 files changed, 0 insertions, 0 deletions