🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdHTTP + KeepAlive

#2326
From: Frank Gruber
Date: Sat, 29 Apr 2006 17:29
20 lines
1282 bytes
Hi.

Does anybody have some suggestions how to get keep-alive to work 
together with TIdHTTP component?

I found the following in the sources which make me wonder how it should 
work. Thanks for any suggestions.

Regards,
Frank.

procedure TIdCustomHTTP.Post(AURL: string; const ASource, 
AResponseContent: TStream);
var
   OldProtocol: TIdHTTPProtocolVersion;
begin
   if Connected then
   begin
     Disconnect;
   end;
Technical Details
Message-ID: <4453a16d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e55f03b9ae95a6,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 29 Apr 2006 19:29:23 +0200
From: Frank Gruber <ZJQBBYSESPEZ@spammotel.com>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdHTTP + KeepAlive
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.190.208.13
Message-ID: <4453a16d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146331501 84.190.208.13 (29 Apr 2006 10:25:01 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail