src/net/http/omithttp2_test.go
raw| 1 | // Copyright 2026 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build nethttpomithttp2 |
| 6 | |
| 7 | package http |
| 8 | |
| 9 | // ResetPools reinitializes pools containing channels. |
| 10 | // Call this at the start and end of any test using synctest, |
| 11 | // to avoid leaking bubbled channels into/out of bubbles. |
| 12 | func ResetPools() { |
| 13 | } |