Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fabiolb/fabio
/ Close
Function
Close
proxy/serve.go:51–58 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
func
Close() {
52
mu.Lock()
53
for
_, srv :=
range
servers {
54
srv.Close()
55
}
56
servers = make(
map
[string]Server)
57
mu.Unlock()
58
}
59
60
func
Shutdown(timeout time.Duration) {
61
mu.Lock()
Callers
8
TestTCPDyanmicProxy
Function · 0.85
TestTCPProxy
Function · 0.85
TestTCPProxyWithTLS
Function · 0.85
TestTCPSNIProxy
Function · 0.85
TestTCPProxyWithProxyProto
Function · 0.85
TestTCPProxyWithTLSWithProxyProto
Function · 0.85
TestTCPSNIProxyWithProxyProto
Function · 0.85
TestProxyTCPAndHTTPS
Function · 0.85
Calls
1
Close
Method · 0.65
Tested by
8
TestTCPDyanmicProxy
Function · 0.68
TestTCPProxy
Function · 0.68
TestTCPProxyWithTLS
Function · 0.68
TestTCPSNIProxy
Function · 0.68
TestTCPProxyWithProxyProto
Function · 0.68
TestTCPProxyWithTLSWithProxyProto
Function · 0.68
TestTCPSNIProxyWithProxyProto
Function · 0.68
TestProxyTCPAndHTTPS
Function · 0.68