dqlite icon indicating copy to clipboard operation
dqlite copied to clipboard

Handle INTERRUPT request

Open cole-miller opened this issue 2 years ago • 3 comments

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.

cole-miller avatar Mar 09 '23 15:03 cole-miller

@MathieuBordere @cole-miller Do you think that signal handling would fix this? Eg: Handling SIGABRT signal.

roddas avatar Oct 16 '23 11:10 roddas

@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.

cole-miller avatar Oct 16 '23 23:10 cole-miller

Oh, I got it . So I was wrong . Sorry about that.

roddas avatar Oct 17 '23 00:10 roddas