Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ close
Method
close
internal/wsrelay/session.go:27–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(pr *pendingRequest) close() {
28
if
pr == nil {
29
return
30
}
31
pr.closeOnce.Do(
func
() {
32
close(pr.ch)
33
})
34
}
35
36
type
session
struct
{
37
conn *websocket.Conn
Callers
3
dispatch
Method · 0.45
request
Method · 0.45
cleanup
Method · 0.45
Calls
1
Do
Method · 0.65
Tested by
no test coverage detected