OT: limit number of connections from browser to my server?
sohcahtoa82 at gmail.com
sohcahtoa82 at gmail.com
Mon May 16 13:57:06 EDT 2016
On Monday, May 16, 2016 at 10:35:28 AM UTC-7, Peter Otten wrote:
> 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.
HTTP/1.1 already supports it, but most browsers have it disabled by default.
https://en.wikipedia.org/wiki/HTTP_pipelining
More information about the Python-list
mailing list