Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58860

Re: How to tell an HTTP client to limit parallel connections?

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: How to tell an HTTP client to limit parallel connections?
Date 2013-11-08 21:02 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <l5jjg8$23$1@reader1.panix.com> (permalink)
References <l5j6q7$5ko$1@reader1.panix.com> <mailman.2246.1383940679.18130.python-list@python.org>

Show all headers | View raw


On 2013-11-08, Nick Cash <nick.cash@npcinternational.com> wrote:

>>What I really need is an HTTP header or meta-tag or something that I
>>can use to tell clients to limit themselves to a single connection.
>
> I don't think such a thing exists...

Yea, that's pretty much the conclusion I had reached.

> but you may be able to solve this creatively:
>
> A) Set up a proxy server that multiplexes all of the connections into
>    a single one. A reverse proxy could even handle the SSL and alleviate
>    the load on the embedded server. Although it sounds like maybe this
>    isn't an option for you?

Indeed it isn't.  These "servers" are an embedded devices that are
installed on customer-owned networks where I can do nothing other than
what can be accopmplished by changes to the firmware on the server.

> B) Redesign the page it generates to need fewer requests (ideally,
>    only one): inline CSS/JS, data: url images, etc. It's not the
>    prettiest solution, but it could work.

That is something I might be able to do something about.  I could
probably add support to the server for some sort of server-side
include feature.  [or, I could pre-process the html files with
something like m4 before burning them into ROM.] That would take care
of the css and js nicely.  Inlining the images would take a little
more work, but should be possible as well.

I have vague memories of inline image data being poorly supported by
browswers, but that was probably many years ago...

Thanks for the suggestion!

-- 
Grant Edwards               grant.b.edwards        Yow! ONE LIFE TO LIVE for
                                  at               ALL MY CHILDREN in ANOTHER
                              gmail.com            WORLD all THE DAYS OF
                                                   OUR LIVES.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OT: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 17:25 +0000
  Re: OT: How to tell an HTTP client to limit parallel connections? donarb <donarb@nwlink.com> - 2013-11-08 09:39 -0800
  Re: OT: How to tell an HTTP client to limit parallel connections? Skip Montanaro <skip@pobox.com> - 2013-11-08 11:39 -0600
    Re: OT: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 18:01 +0000
  Re: OT: How to tell an HTTP client to limit parallel connections? Chris Angelico <rosuav@gmail.com> - 2013-11-09 05:16 +1100
    Re: OT: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 19:20 +0000
      Re: OT: How to tell an HTTP client to limit parallel connections? Chris Angelico <rosuav@gmail.com> - 2013-11-09 06:39 +1100
        Re: OT: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 20:48 +0000
          Re: OT: How to tell an HTTP client to limit parallel connections? Chris Angelico <rosuav@gmail.com> - 2013-11-09 08:01 +1100
            Re: OT: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 21:14 +0000
              Re: OT: How to tell an HTTP client to limit parallel connections? Chris Angelico <rosuav@gmail.com> - 2013-11-09 08:29 +1100
  RE: How to tell an HTTP client to limit parallel connections? Nick Cash <nick.cash@npcinternational.com> - 2013-11-08 19:42 +0000
    Re: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 21:02 +0000
  Re: OT: How to tell an HTTP client to limit parallel connections? Ian Kelly <ian.g.kelly@gmail.com> - 2013-11-08 13:13 -0700
    Re: OT: How to tell an HTTP client to limit parallel connections? Grant Edwards <invalid@invalid.invalid> - 2013-11-08 21:05 +0000

csiph-web