diff options
author | Eric Wong <e@80x24.org> | 2019-01-07 09:09:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-09 11:44:52 +0000 |
commit | a9cab9c477b74b3b828c26aa64e70d88c9d6744c (patch) | |
tree | f0205f3253aad322c6a7e074b3939d1d345e1b56 /lib/PublicInbox/GetlineBody.pm | |
parent | e683624b96fdc2587a2e45895d22b373c8a6413b (diff) | |
download | public-inbox-a9cab9c477b74b3b828c26aa64e70d88c9d6744c.tar.gz |
Hopefully this helps people familiarize themselves with the source code.
Diffstat (limited to 'lib/PublicInbox/GetlineBody.pm')
-rw-r--r-- | lib/PublicInbox/GetlineBody.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PublicInbox/GetlineBody.pm b/lib/PublicInbox/GetlineBody.pm index 7fcd7c03..ea07f3d6 100644 --- a/lib/PublicInbox/GetlineBody.pm +++ b/lib/PublicInbox/GetlineBody.pm @@ -4,6 +4,10 @@ # Wrap a pipe or file for PSGI streaming response bodies and calls the # end callback when the object goes out-of-scope. # This depends on rpipe being _blocking_ on getline. +# +# public-inbox-httpd favors "getline" response bodies to take a +# "pull"-based approach to feeding slow clients (as opposed to a +# more common "push" model) package PublicInbox::GetlineBody; use strict; use warnings; |