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

--- Comment #3 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 192258
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192258&action=edit
Bug 40947: Remove warning "Aborted connection" from
t/db_dependent/www/search_utf8.t

We sent a SIGKILL to the daemon which does not let it cleanup

Updating to SIGTERM (15) and handle the dbh disconnect gracefully in the
daemon.

Also handle SIGINT (ctrl+c) only because I think it can be useful (?)

Test plan:
  prove t/db_dependent/www/search_utf8.t

=> Without this patch there are 3 warnings in the DB container log
db-1         | 2025-10-03 12:30:57 362 [Warning] Aborted connection 42 to db:
'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading
communication packets)
=> With this patch applied there are none.

Signed-off-by: David Nind <[email protected]>

Signed-off-by: Kyle M Hall <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to