Open cole-miller opened 1 year ago
@MathieuBordere @cole-miller Do you think that signal handling would fix this? Eg: Handling SIGABRT signal.
@roddas Signal handling is not implicated here -- we're talking about how dqlite servers should handle a specific message that clients can send, not SIGINT or anything like that.
Oh, I got it . So I was wrong . Sorry about that.
Currently this code in conn.c prevents us from properly handling INTERRUPT requests:
https://github.com/canonical/dqlite/blob/165472451d04e7fc12d5a360d2bd43339768a300/src/conn.c#L34-L40
We should fix that.