]> 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 21:27:00 +0000 (21:27 +0000)
committerEric Wong <e@80x24.org>
Tue, 27 Mar 2018 21:27:39 +0000 (21:27 +0000)
commit61ffb7233be0ac177dcf4feadba871fea8e025dd
tree4c2ec5179adeca2650297b53d08dc6a161c7078d
parent703490825ebf9e22e30ab79063a81f8476ad2a0c
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