Skip to content

[BUG] the context ptr in socketWrapper may be modified #114

Open
@DOLLook

Description

when call Upgrade(ctx *context.Context, idGen IDGenerator, s *neffos.Server) *neffos.Conn{}. The iris context will be cached in the &socketWrapper{Socket: socket,ctx: ctx}. But it may be modified to other http request context. And I search the ctx set to the socketWrapper, only the Upgrade set it. Why the context may changed.

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions