MCPcopy
hub / github.com/valyala/fasthttp / releaseConcurrency

Method releaseConcurrency

server.go:2236–2238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2234}
2235
2236func (s *Server) releaseConcurrency() {
2237 s.concurrency.Add(^uint32(0))
2238}
2239
2240var errHijacked = errors.New("connection has been hijacked")
2241

Callers 3

ServeConnMethod · 0.95
tryAcquireConcurrencyMethod · 0.95
serveConnCleanupMethod · 0.95

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected