From a9cab9c477b74b3b828c26aa64e70d88c9d6744c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 7 Jan 2019 09:09:51 +0000 Subject: doc: various overview-level module comments Hopefully this helps people familiarize themselves with the source code. --- lib/PublicInbox/GetlineBody.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/PublicInbox/GetlineBody.pm') 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; -- cgit v1.2.3-24-ge0c7