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

Method serveConnCleanup

server.go:2299–2304  ·  view source on GitHub ↗
(countConcurrency bool)

Source from the content-addressed store, hash-verified

2297}
2298
2299func (s *Server) serveConnCleanup(countConcurrency bool) {
2300 s.open.Add(-1)
2301 if countConcurrency {
2302 s.releaseConcurrency()
2303 }
2304}
2305
2306func (s *Server) serveConn(c net.Conn) error {
2307 return s.serveConnCounted(c, true)

Callers 1

serveConnCountedMethod · 0.95

Calls 2

releaseConcurrencyMethod · 0.95
AddMethod · 0.45

Tested by

no test coverage detected