]> Sergey Matveev's repositories - public-inbox.git/commit
githttpbackend: avoid infinite loop on generic PSGI servers
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Tue, 27 Mar 2018 20:24:21 +0000 (20:24 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Tue, 27 Mar 2018 20:26:18 +0000 (20:26 +0000)
commita966564fef08a4f25670778efbff139fbbf47c84
tree01c7fbf3dfeffe01aa9445b69f20e5987277dc04
parentcc615e445899ad719b7b84babae0cf7907b2a3e3
githttpbackend: avoid infinite loop on generic PSGI servers

We must detect EOF when reading a POST body with standard PSGI servers.
This does not affect deployments using the standard public-inbox-httpd;
but most smaller inboxes should be able to get away using a generic
PSGI server.
lib/PublicInbox/GitHTTPBackend.pm