Comments (3)
@mstrYoda Any idea what may be causing this?
from contrib.
Hi, you can not close a hijacked connection in this way. It is basically do nothings.
You can just return from the websocket handler function and it closes underlying connection after exiting handler.
from contrib.
Returning directly from the websocket handler worked.
But for what purpose is the (*websocket.Conn).Close() func if it can't close the connection?
from contrib.
Related Issues (20)
- π [Feature]: My (simple) SSEFiber Package HOT 1
- π€ [Question]: Could you mint a new release? HOT 3
- π€ [Question]: Swagger - Support for openapi v3?
- π [Feature]: Casbin: Allow users to use other types of Enforcers HOT 1
- π€ [Question]: otelfiber + otelmongo spans are not being grouped correctly HOT 3
- π [Bug]: i18n middleware panics HOT 17
- π [Feature]: fiberzap accepts custom fields HOT 3
- π [Bug]: Updated struct `value` in `map` after `websoket` connection. HOT 3
- π [Bug]: I have upgraded i18n/v2, but there will still be problems. HOT 15
- π€ [Question]: When use `fiberzap` with `WithContext`, caller maybe not show properly. How do I change itοΌ HOT 3
- π [Bug]: OTeL duplicate and wrong counter metrics are generated infinitely HOT 7
- π€ [Question]: Otelfiber - How to set span status to Error on panic?
- π [Feature]: otelfiber - Propergate tracing headers in outbound response HOT 6
- π [Bug]: Swagger - not test-able (`./swagger.json` file does not exist) HOT 5
- π€ [Question]: is it possible to get the file descriptor from fiber websocket? HOT 1
- π [Bug]: error occored when import github.com/gofiber/contrib/websocket HOT 7
- π [Feature]: Otelfiber allow for manual cancellation of c.UserContext() in otelfiber.Middleware() HOT 1
- π [Bug]: FiberSentry: GetHubFromContext() never returns nil
- π [Feature]: Add golangci-lint
- π€ [Question]: fiberzerolog the banner is not printed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contrib.