🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages Started by Alex Fri, 21 Mar 2008 01:02
C++B6 and Indy9.0.18 HTTP Client for ActiveX : initial connection time delay problem
#291
Author: Alex
Date: Fri, 21 Mar 2008 01:02
65 lines
3270 bytes
Hello
I use C++B6 and Indy 9.0.18.

Strange..Please help me..

If I make *.exe program with IndyHTTP Client.

NFS = new TFileStream(Body,fmCreate);
INDYHTTP->Get(URL,NFS);
I got the response and get the file.



But same source in ActiveX with InHttp(Indy9.0.18)
Strange result is like below :

SSLHS Status hsConnecting - A connection is being opened : Connecting to. = 
1
Indy Status hsConnected - A connection has been made : Connected. = 8566 
<---------connection takes 8.5 sec....
Indy Connect = 8566
Indy WorkBegin = 8575
Indy AWorkMode = 8584
Indy AWorkMode = 8614
Indy WorkEnd = 8614
File HTTP GET  1-1.jpg = 8615 (14.3%)


Indy Status hsConnected - A connection has been made : Connected. = 8566
Only Connection takes 8.5sec over.. and that time IE is hanging...

And with SSL, At first time IE and ActiveX starts,


SSLHS Status hsConnecting - A connection is being opened : Connecting to. = 
2 (0.0%)
SSLHS StatusInfo SSL status: "before/connect initialization" = 8530 (0.9%) 
<------connection....
SSLHS StatusInfo SSL status: "before/connect initialization" = 8530 (0.9%)
SSLHS StatusInfo SSL status: "SSLv2 write client hello A" = 17655 (1.9%) 
<---- SSL initial Client Hello connection
SSLHS StatusInfo SSL status: "SSLv2 read server hello A" = 17661 (1.9%)
SSLHS StatusInfo SSL status: "SSLv2 write client master key A" = 17661 
(1.9%)
SSLHS StatusInfo SSL status: "SSLv2 client start encryption" = 17662 (1.9%)
SSLHS StatusInfo SSL status: "SSLv2 write client finished A" = 17662 (1.9%)
SSLHS StatusInfo SSL status: "SSLv2 read server verify A" = 17669 (1.9%)
SSLHS StatusInfo SSL status: "SSLv2 read server finished A" = 17674 (1.9%)
SSLHS StatusInfo SSL status: "SSL negotiation finished successfully" = 17674 
(1.9%)
SSLHS StatusInfo SSL status: "SSL negotiation finished successfully" = 17674 
(1.9%)
SSLHS StatusInfo Cipher: name = DES-CBC3-MD5; description = DES-CBC3-MD5 
SSLv2 Kx=RSA      Au=RSA  Enc=3DES(168) Mac=MD5
; bits = 168; version = SSLv2;  = 17674 (1.9%)

Only Connection takes long time..

At first time, It takes long time but after that, try other site or other 
files it is fast...

How to Solve it?
even if I used idAntiFreeze... But useless..

Help me..
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