Very minor tweaks

This commit is contained in:
Matthew Holt
2022-09-08 13:10:40 -06:00
parent 50748e19c3
commit 076a8b8095
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// advertise HTTP/3, if enabled
if s.h3server != nil {
// keep track of active requests for QUIC transport purposes (See AcceptToken callback in quic.Config)
// keep track of active requests for QUIC transport purposes
atomic.AddInt64(&s.activeRequests, 1)
defer atomic.AddInt64(&s.activeRequests, -1)