🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1125

TIdHTTPServer: question about KeepAlive

#1125
From: emerson.pardo
Date: Mon, 21 May 2007 20:55
19 lines
1902 bytes
Hi all,

If I set TIdHTTPServer KeepAlive property to true the server will try
to keep all conections keep-alived?

What does happen if one client send some requests with keep-alive
enabled and others requests with keep-alive disabled?

Let me explain what I'm trying to do. My server is a stock quotes
server and my client needs to start listen some stock quotes so it
sends one request (with keep-alive disabled) for each stock it wants
to listen. When my client begins it opens one connection with keep-
alive enabled and when the stocks updates his data the new values will
be sent through this connection. Now what is happening is that the
server doesn't keep this connection opened and I'm not understanding
what is happening. Any ideas?

Thanks in advance,
Emerson
Technical Details
Message-ID: <1179780948.075616.164470@x35g2000prf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x35g2000prf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c40d4766d883446f,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x35g2000prf.googlegroups.com!not-for-mail
From: emerson.pardo@gmail.com
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdHTTPServer: question about KeepAlive
Date: 21 May 2007 13:55:48 -0700
Organization: http://groups.google.com
Lines: 20
Message-ID: <1179780948.075616.164470@x35g2000prf.googlegroups.com>
NNTP-Posting-Host: 201.20.201.226
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1179780964 25520 127.0.0.1 (21 May 2007 20:56:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 21 May 2007 20:56:04 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: x35g2000prf.googlegroups.com; posting-host=201.20.201.226;
   posting-account=QvXz7Q0AAABpEoGXcn0fFVJYSsupcqGQ