Article View: borland.public.cppbuilder.internet.socket
Article #3004How to avoid disconnections in each IdHTTP1->Get()?
From: RAM
Date: Mon, 12 Dec 2005 08:33
Date: Mon, 12 Dec 2005 08:33
16 lines
1287 bytes
1287 bytes
Hello all ! I am using IdHTTP and I very surprised : when I call [periodically] IdHTTP1->Get(URL); // URL is const string, IdHTTP1 is "connected" IdHTTP make "disconnecting"=>"connecting"=>"obtain data" and stay connected until next Get(). (I have tried IdHTTP1->Request->Connection="Keep-Alive"; // default for http 1.1 before IdHTTP1->Connect(); - no changes.) How to avoid disconnections in each IdHTTP1->Get()? Many thanks !
Technical Details
Message-ID:
<439d43dd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c0651f8c61f5ad46,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "RAM" <alexandr_ryzhov@energomash.ru> Sender: "RAM" <alexandr_ryzhov@energomash.ru> Reply-To: "RAM" <alexandr_ryzhov@energomash.ru> Subject: How to avoid disconnections in each IdHTTP1->Get()? Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 212.113.112.242 NNTP-Posting-Host: 207.105.83.66 Message-ID: <439d43dd$1@newsgroups.borland.com> Date: 12 Dec 2005 01:33:17 -0700 X-Trace: newsgroups.borland.com 1134379997 207.105.83.66 (12 Dec 2005 01:33:17 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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