Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ isBenignSocketError
Function
isBenignSocketError
scripts/proxy-utils.mjs:34–36 ·
view source on GitHub ↗
(err)
Source
from the content-addressed store, hash-verified
32
}
33
34
export
function
isBenignSocketError(err) {
35
return
Boolean(err && BENIGN_SOCKET_ERRORS.has(err.code));
36
}
37
38
function
once(fn) {
39
let
called = false;
Callers
4
startIngress
Function · 0.90
createProxyHandlers
Function · 0.85
proxyHttp
Function · 0.85
proxyWebSocket
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected