]> Sergey Matveev's repositories - public-inbox.git/commit
http: constrain getline/close responses by time
authorEric Wong <e@80x24.org>
Sun, 19 Jun 2016 06:55:42 +0000 (06:55 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Jun 2016 07:04:41 +0000 (07:04 +0000)
commit3e792e55f53dd6d31f2f2ff66fa79d9189690294
treec69a82e16fe9849acf5e7c24d73597034e3745ff
parent271301a493f5418ddf5065d412811fde0a68e984
http: constrain getline/close responses by time

This allows us to yield control to other clients gracefully if
getline takes too long to generate a chunk.  This is more
expensive but should not cost a syscall on modern 64-bit systems.
lib/PublicInbox/HTTP.pm