]> git.koha-community.org Git - koha.git/commit
Bug 31348: Make koha-plack stop gracefully
authorDavid Cook <dcook@prosentient.com.au>
Fri, 12 Aug 2022 02:27:52 +0000 (02:27 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 19 Oct 2022 03:07:19 +0000 (05:07 +0200)
commit7c457f1833185279f184ea1d422dbf14cf830931
tree5ef580dfaf71d892804789d175e7d59d5e1623b2
parent6451a7028341490adbf71e43d269b0ec583704e4
Bug 31348: Make koha-plack stop gracefully

0. Apply patch
1. cp /usr/sbin/koha-plack /usr/sbin/koha-plack.bak
2. cp debian/scripts/koha-plack /usr/sbin/koha-plack
3. Now at roughly the same time do the following two actions:
    3a. Go to http://localhost:8081/cgi-bin/koha/about.pl
    3b. koha-plack --stop kohadev
4. Note that the HTTP request completes
5. Click on "Home"
6. Note that the error is "Service Unavailable" rather than "Proxy Error",
which would've occurred with an interrupted HTTP request/response

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5155e43b04a4283bb13eedd39cdcb9e12693630d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6150bd7d812aafd8e6d4f32fe71e9a408c327448)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
debian/scripts/koha-plack