diff options
author | Eric Wong <e@yhbt.net> | 2020-07-05 23:27:53 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-07-06 20:01:15 +0000 |
commit | 5afb24f06627641e3fed608e807b5ab628cda348 (patch) | |
tree | efb87fc794a436b5aa1d99c34cbee7ff33bde62c /lib/PublicInbox/HTTPD.pm | |
parent | 1cf5a6129b5ae4991275862aab539ddea812890a (diff) | |
download | public-inbox-5afb24f06627641e3fed608e807b5ab628cda348.tar.gz |
We no longer favor getline+close for streaming PSGI responses when using public-inbox-httpd. We still support it for other PSGI servers, though.
Diffstat (limited to 'lib/PublicInbox/HTTPD.pm')
-rw-r--r-- | lib/PublicInbox/HTTPD.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/PublicInbox/HTTPD.pm b/lib/PublicInbox/HTTPD.pm index 33193969..a9f55ff6 100644 --- a/lib/PublicInbox/HTTPD.pm +++ b/lib/PublicInbox/HTTPD.pm @@ -36,9 +36,8 @@ sub new { # XXX unstable API!, only GitHTTPBackend needs # this to limit git-http-backend(1) parallelism. - # The rest of our PSGI code is generic, relying - # on "pull" model using "getline" to prevent - # over-buffering. + # We also check for the truthiness of this to + # detect when to use git_async_cat for slow blobs 'pi-httpd.async' => \&pi_httpd_async ); bless { |