Closed frapontillo closed 6 years ago
Hi @frapontillo . Thanks for the PR! Is req.socket.destroy()
really necessary? I don't know if it will even work (haven't tried). According to the docs, after calling response.end()
the property is nulled.
Hi @frapontillo would #80 work for you?
No idea, it's been too long 😂
Fixed in #80
When using
node-google-apps-script
as a module dependency, I'd like to have theauth
command return immediately after the user has logged in.This is currently impossible since the
http
server uses keep-alive connections, that aren't immediately terminated when doingserver.close()
.The solution, used by the
http-shutdown
module is to close the socket underlying theIncomingMessage
request.