Skip to content

How to exit middleware gracefully? #1265

Open
@houxul

Description

@houxul

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about GoReplay and how to use it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions