How to exit middleware gracefully?
Author: houxulCreated Mar 5, 2025Updated Apr 8, 2025
Labelsquestion
Start goreplay and middleware with `goreplay --middleware /app/middleware`, which handles signals like syscall.SIGINT, syscall.SIGTERM, etc. After the goreplay process is terminated, middleware also exits, but a middleware zombie process is formed. How to implement middleware correctly with golang?
Source: probelabs/goreplay