🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages Started by Frank Gruber Sat, 29 Apr 2006 17:29
TIdHTTP + KeepAlive
#2326
Author: 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;
Re: TIdHTTP + KeepAlive
#2327
Author: Remy Lebeau (TeamB)
Date: Mon, 01 May 2006 18:43
17 lines
1292 bytes
"Frank Gruber" <ZJQBBYSESPEZ@spammotel.com> wrote in message
news:4453a16d$1@newsgroups.borland.com...

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

Which version of Indy are you using?  Are you connecting to a server that
supports keep-alives?

> I found the following in the sources which make me wonder how
> it should work.

TIdHTTP.Post() does not support keep-alives.


Gambit
Re: TIdHTTP + KeepAlive
#2330
Author: Frank Gruber
Date: Tue, 02 May 2006 14:04
25 lines
1656 bytes
Remy Lebeau (TeamB) schrieb:
> "Frank Gruber" <ZJQBBYSESPEZ@spammotel.com> wrote in message
> news:4453a16d$1@newsgroups.borland.com...
> 
>> Does anybody have some suggestions how to get keep-alive
>> to work together with TIdHTTP component?
> 
> Which version of Indy are you using?

Version 9 Dev snapshot from Nov 2005.

> Are you connecting to a server that
> supports keep-alives?

Based on TIdHTTPServer from Indy 9 also.

>> I found the following in the sources which make me wonder how
>> it should work.
> 
> TIdHTTP.Post() does not support keep-alives.

OK it seems there is no solution for me to use keep-alive .

Regards,
Frank.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads