[Koha-bugs] [Bug 31348] Plack stop should be graceful

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 12 04:29:01 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31348

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 139036
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139036&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list