[BD2006] IdHTTP, SSH and Post

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
mordek
Posts: 5
Joined: Sat 16 Aug 2008 09:09

[BD2006] IdHTTP, SSH and Post

Post by mordek » Sat 16 Aug 2008 09:57

Hi!
I downloaded trial of SecureBridge from your page and tried to make HTTP client over SSH. I checked samples, rewrite what was needed, added TScIdIOHandler...
Everything is working fine besides TIdHTTP.Post request - my application can`t send Posts to every site I want. For example, when i try to send it to the "cmyip.com" it`s working fine, but with "wp.pl" or "nfohump.com" when i call TIdHTTP.Post function, application freezes and (very often) CPU usage is about 80-100%. I also tried to change SSH server which application is connecting but witout result.

I`m using BDS2006, SecureBridge 2.00 for BDS 2006, Indy 10.1.5.

Thanks for any help.

Code I use to send Post request:

Code: Select all

StreamIn := TStringStream.Create('');
StreamOut := TStringStream.Create('');
  try
    StreamIn.WriteString(Format('test=%s&test2=%s', ['test', 'test2']));
    ht.Post('http://nfohump.com', StreamIn, StreamOut);
    zwr := StreamOut.DataString;
  except
    StreamIn.Free;
    StreamOut.Free;
  end;
*** EDIT ***
Sample application:
- http://rapidshare.com/files/138038473/S ... e.rar.html
- http://www.uploading.com/files/IS0JQB63 ... e.rar.html

I would be thankful if anybody can check, this is working for him or what i should change in the code to make this working for me.
There is a source in the rar file, you will only need SB 2.0 and Indy 10.

*** EDIT2 ***
Is there anybody from Devart Team who can check this? :>

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 20 Aug 2008 11:08

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SecureBridge build.

mordek
Posts: 5
Joined: Sat 16 Aug 2008 09:09

Post by mordek » Wed 20 Aug 2008 11:15

When will you do next build? ;>

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 22 Aug 2008 13:10

We plan to release the next SecureBridge build in a few weeks.

Post Reply