Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanging requests when using http-server #8

Closed
OliverJAsh opened this issue Nov 3, 2014 · 2 comments
Closed

Hanging requests when using http-server #8

OliverJAsh opened this issue Nov 3, 2014 · 2 comments

Comments

@OliverJAsh
Copy link
Contributor

I'm booting a HTTP server using http-server. I'm using Distra to proxy the server.

This works but after a few refreshes of my HTML page, the request for the document begins to hang. This only happens when I use the configured Distra route. It doesn't happen when I go to the server directly, e.g. http://localhost:8080. If I restart the HTTP server, it works again.

Do you have any ideas why this might be happening? I've tried creating an isolated test case, but unfortunately it only seems to happen when requesting HTML files with lots of resources. If you can't provide any suggestions I will have to dig further. It's an odd one.

@tgvashworth
Copy link
Owner

I too have seen this, but not for a long time. An isolated case would be amazing if you can put one together — otherwise I might just update some deps and do a release to try and aggregate other's fixes.

@OliverJAsh
Copy link
Contributor Author

Could we try updating deps first? I'll give it a go when this frustrates me next.

OliverJAsh added a commit to OliverJAsh/distra that referenced this issue Jul 26, 2016
tgvashworth pushed a commit that referenced this issue Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants