turso-cli icon indicating copy to clipboard operation
turso-cli copied to clipboard

Hung HTTP endpoint causes CLI shell to hang, can't recover with ctl-c, can only use ctl-\ to kill

Open CodingDoug opened this issue 3 years ago • 3 comments

Basically I expect that I can terminate the shell (or terminate the sent SQL command, staying in the shell) with ctl-c when hung on sending a command. Or in other words, SIGINT should get my prompt back, shouldn't need a SIGKILL.

CodingDoug avatar Feb 02 '23 18:02 CodingDoug

What's the best way to reproduce this @CodingDoug ? How did you get the HTTP endpoint to hung?

haaawk avatar Feb 22 '23 14:02 haaawk

This was filed back when there were other problems with Turso that made connections hang indefinitely. I'm not sure about the best repro now, but you might be able to do something to prevent network packets from getting there and back without failing outright.

CodingDoug avatar Feb 22 '23 14:02 CodingDoug

Ok. I will try to think about something. Thanks.

haaawk avatar Feb 22 '23 14:02 haaawk

I haven't been able to replicate this hanging. Closing for now.

notrab avatar Jul 30 '24 11:07 notrab