[JDEV] urgent: Proxy Server

Anatoly Ivasyuk aivasyuk at dtlink.com
Wed Mar 22 13:21:44 CST 2000


Yermo Lamers wrote:
> 
> On Wed, 22 Mar 2000, Thomas Charron wrote:
> 
> > Quoting Yermo Lamers <yml at dtlink.com>:
> > > Why not simply implement the Jabber protocol over HTTP?
> > > If no one has done that by the time we get started on our project, we'll
> > > implement it. ( ~2 months time before we get started on this)
> >
> >   Easier said then done.  This is simply due to the fact that HTTP itself isn't
> > a persistent protocol.  While it *can* be made to work this way, not all proxy
> > servers will respect the persistence of an HTTP 1.1 connection, and will
> > instead issue several HTTP 1.0 requests, with the persietence only taking place
> > between the client and the proxy server itself.  It *IS POSSIBLE*, but what
> > would be needed would be a way to 'emulate' a persistent connection by using
> > logical 'sessions'.  These sessions would identify a given login, and spool
> > data going out untill the HTTP client implentation could connect, validate that
> > it owns a certain session ID, and retrieve the XML packets spooled up.  Simply
> > a matter of a negotiation system being made, really.
> 
> What percentage of proxy servers would you guess do not honor HTTP 1.1
> persistence? I would guess the most popular proxy's would.

If they use the "Connection: Keep-alive" header I would imagine that 99%
of modern proxy servers will keep even an HTTP/1.0 connection alive.  I
don't think it would be a problem.  FWIW, DATEK streamer does it and it
seems to work just fine.

-- 
-------------------------------------------------------
DTLink (Software), LLC            http://www.dtlink.com
 Get your FREE 30-day trial of Personal Stock Monitor!
    "The Desktop Companion for Online Investors."
 Ziff-Davis Award 1998, Shareware Industry Award 1999
-------------------------------------------------------




More information about the JDev mailing list