ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

Web server slow in HTTP/1.1 mode #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. run: 
$ genyris examples/www-demo.g
2. Start Firefox and Firebug, enabe Net All
3. hit the URL http://localhost:8000

What do you see?

4. hit SHIFT-Reload in FF, observe response time =~ 4 milliseconds
5. hit Reload in FF, observed response time is between 150-400 milliseconds

What is the expected output?

The server should respond in roughly the same time in 1.0 and 1.1 mode.

Original issue reported on code.google.com by birchb1...@gmail.com on 9 Feb 2012 at 10:47

GoogleCodeExporter commented 9 years ago
My guess is the server is waiting for the next request from the browser which 
is holding up processing the request, because it does not use the request 
content-length intelligently.

Original comment by birchb1...@gmail.com on 9 Feb 2012 at 10:48