MCPcopy 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
34export function isBenignSocketError(err) {
35 return Boolean(err && BENIGN_SOCKET_ERRORS.has(err.code));
36}
37
38function once(fn) {
39 let called = false;

Callers 4

startIngressFunction · 0.90
createProxyHandlersFunction · 0.85
proxyHttpFunction · 0.85
proxyWebSocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected