MCPcopy Create free account
hub / github.com/codeaashu/claude-code / close

Function close

src/upstreamproxy/relay.ts:227–229  ·  view source on GitHub ↗
(sock)

Source from the content-addressed store, hash-verified

225 }
226 },
227 close(sock) {
228 cleanupConn(sock.data)
229 },
230 error(sock, err) {
231 logForDebugging(`[upstreamproxy] client socket error: ${err.message}`)
232 cleanupConn(sock.data)

Callers

nothing calls this directly

Calls 1

cleanupConnFunction · 0.85

Tested by

no test coverage detected