Closed wyyadd closed 1 year ago
What's the progress? Is no one paying attention to this issue?
There are many topics in fiber and unfortunately not enough active developers who support these packages. We are depending on your help, because it is an open source project, which we are developing completely beside the rest of our daily tasks.
Our focus is on the core functionalities and the much used packages.
/assign-to-me
@mstrYoda what's the status so far?
@mstrYoda what's the status so far?
@efectn I think we can merge my pr that fixes this issue wdyt? π€
Bug Description
Hi team! I have an issue. Websocket middleware is not compatible with Recover middleware.
If panic happens in websocket handler, process will quit.
Possible reason: In this code block, websocket middleware reigsters a handler to FastHTTPUpgrader.
FastHTTPUpgrader also registers a HijackHandler.
FastHttp runs hijackConnHandler in a new goroutine. If a panic occurs within this goroutine, the Recover middleware is unable to catch it.
How to Reproduce
Expected Behavior
Contrib package Version
websocket v1.0.0
Code Snippet (optional)
Checklist: