MCPcopy
hub / github.com/coder/mux / sendCancelledResponseIfPending

Function sendCancelledResponseIfPending

src/node/utils/oauthLoopbackServer.ts:179–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177 };
178
179 const sendCancelledResponseIfPending = () => {
180 sendFailureResponse("OAuth flow cancelled");
181 };
182
183 const server = http.createServer((req, res) => {
184 // Optionally reject non-loopback connections (Codex sets validateLoopback: true).

Callers 1

startLoopbackServerFunction · 0.85

Calls 1

sendFailureResponseFunction · 0.85

Tested by

no test coverage detected