BuoyantIO/slow_cooker

Ctrl-C doesn't exit slow_cooker quickly enough

stevej opened this issue · 1 comments

From oliver:

for some reason i can’t Ctrl-C slowcooker
it stops sending traffic but doesn’t close down

William noted that we aren't capturing syscall.SIGTERM, only syscall.SIGINT. I don't think we should catch SIGTERM. Most terminals send SIGINT on Ctrl-C so I think the existing trap is sufficient but we need to figure out what's not draining properly.

oliver noted that he sees this on the Mac.