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