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

When browser requests many resources simultaneously, some requests appear to get dropped #19

Open
kqr opened this issue May 27, 2018 · 3 comments

Comments

@kqr
Copy link

kqr commented May 27, 2018

I have no idea how to properly debug this. What I do notice is that when visiting a web page with lots of fonts required (due to math rendering), not all font requests ever go through, and the web browser just sits there, waiting for the response for those. This happens consistently.

I wish I could write a more helpful bug report.

@kqr
Copy link
Author

kqr commented May 27, 2018

Updates: I know now it gets as far as the httpd-log call in httpd-send-file, because that shows up in the log buffer. I inserted a conditional debug statement (when (string-match *one-font-name-out-of-many* path) (debug)) inside the with-temp-buffer call, and then for some reason all resources got served correctly (except for the one still stuck in debug, of course, but that too once I continued).

I may troubleshoot this further the next time it bothers me, but right now I'm fine because now the resources are in my browser cache so any potential bugs do not bother me as much...

@skeeto
Copy link
Owner

skeeto commented May 27, 2018 via email

@kqr
Copy link
Author

kqr commented May 30, 2018

Your hypothesis makes sense. Good suggestions for further troubleshooting. Will keep those in mind next time it happens!

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

No branches or pull requests

2 participants