OT: limit number of connections from browser to my server?

Peter Otten __peter__ at web.de
Mon May 16 13:34:45 EDT 2016


Grant Edwards wrote:

> This is not Python specific, though I'm turning to Python to do some
> experimentation and to try to prototype a solution.
> 
> Is there any way to limit the number of connections a browser uses to
> download a web page?  Browser writers seems to assume that all https
> servers are massively parallel server farms with hardware crypto
> support.
> 
> So, when a browser wants to load a page that has the main html file, a
> css file, a javascript library or two, and a few icons and background
> bitmaps, they browser opens up a half-dozen SSL connections in
> parallel.

[brainstorm-mode on]

I think HTTP/2 allows multiple requests over a single TCP connection.




More information about the Python-list mailing list