mirror of
https://github.com/caddyserver/caddy.git
synced 2026-04-26 02:39:50 -04:00
lint
This commit is contained in:
parent
b68e9bfdd4
commit
daea7788ad
@ -86,12 +86,12 @@ func TestReverseProxyReloadStressUpgradedStreamsHeapProfiles(t *testing.T) {
|
||||
}
|
||||
|
||||
type stressRunResult struct {
|
||||
streamCount int
|
||||
aliveAfterReloads int
|
||||
streamCount int
|
||||
aliveAfterReloads int
|
||||
aliveBeforeDelayExpiry int // only meaningful for close_delay mode
|
||||
beforeReload heapSnapshot
|
||||
midReload heapSnapshot // after all reloads, before delay expiry clean-up
|
||||
afterReload heapSnapshot // after all streams have been fully cleaned up
|
||||
beforeReload heapSnapshot
|
||||
midReload heapSnapshot // after all reloads, before delay expiry clean-up
|
||||
afterReload heapSnapshot // after all streams have been fully cleaned up
|
||||
}
|
||||
|
||||
type heapSnapshot struct {
|
||||
|
||||
@ -246,7 +246,7 @@ func (h *Handler) handleH2UpgradeTunnel(
|
||||
var (
|
||||
toBackend int64
|
||||
fromBackend int64
|
||||
result = "closed"
|
||||
result string
|
||||
)
|
||||
|
||||
// when a stream timeout is encountered, no error will be read from errc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user