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

Selexor loads very slow on some browsers #11

Closed
linkleonard opened this issue Feb 19, 2015 · 0 comments
Closed

Selexor loads very slow on some browsers #11

linkleonard opened this issue Feb 19, 2015 · 0 comments
Assignees

Comments

@linkleonard
Copy link

Reported by llaw02 on 18 Apr 43357409 21:17 UTC
When loading the web page for selexor on Chrome, it may take a >10 seconds before the user sees something on the screen.

There are two underlying issues:


This has been identified as a chrome issue:

https://code.google.com/p/chromium/issues/detail?id=195550#c11

Modern browsers perform pre-connections to web servers when they anticipate that multiple files are going to be requested from the web server. Since the selexor was initially single threaded, it can only handle one connection at a time. The extra preconnections don't actually send any data over initially, so after the first connection is served, if they somehow become the active connection that is being handled, selexor blocks until it times out, effectively being a race condition.


The length of the message was not sent over from selexor to the client. Web browsers expect the length of a response when performing a request. This causes them to wait until a timeout to occur.

@linkleonard linkleonard self-assigned this Feb 19, 2015
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

1 participant