Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Doesn't work as middleware if next() is called after a timeout #354

Closed
ghost opened this Issue Dec 25, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@ghost

ghost commented Dec 25, 2012

I'm able to use the proxy just fine if previous middleware calls next() syncronously. But if I put it in a db callback, or just a simple setTimeout(), it stalls and never responds. I've confirmed that it's entering the middleware function made with httpProxy.createServer, but the proxy.proxyRequest doesn't ever come back. Any ideas?

Owner

jcrugzz commented Oct 30, 2015

Closing due to old age and relation to old version of http-proxy

@jcrugzz jcrugzz closed this Oct 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment