Re: [twsocket] RcvdStream.Free with 404?

2009-05-17 Thread Francois Piette
Should RcvdStream.Free still be called with HttpCli if a 404 error is received? Is there something which makes you think it shouldn't ? I didn't know if there was data stored upon the occurrence of errors where standard data is not received, such as 404 errors, invalid authentication state,

[twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Ole Braad-Sørensen
On Thu, 14 May 2009 10:31:53 +, you wrote: Possibly you need breaks? :-) switch(RqType) { case smtpConnect: SMTP-Helo(); break; case smtpHelo: SMTP-MailFrom(); break; case smtpEhlo: SMTP-Auth(); break; case smtpAuth: SMTP-MailFrom(); break; case

Re: [twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Arno Garrels
Ole Braad-Sørensen wrote: void __fastcall TForm2::SMTPRequestDone(TObject *Sender, TSmtpRequest RqType, WORD ErrorCode) { // When arriving to here from Connect, // the RqType is = 0 and the ErrorCode is = 23396 - :-( // What is ErrorCode 23396 ? (Guess it is not known) I have no

Re: [twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Fastream Technologies
Hello, I saw similar problem with thttpcli and it went away when I cleaned and rebuilt the ICS package. Best Regards, SZ On 5/17/09, Ole Braad-Sørensen o...@soholm.com wrote: On Thu, 14 May 2009 10:31:53 +, you wrote: Possibly you need breaks? :-) switch(RqType) { case

Re: [twsocket] THttpCli HEAD with body fix [subjectedited]

2009-05-17 Thread Fastream Technologies
Arno, Instead of making a demo, I have a question and an idea: Please examine the code below and read the comments: procedure THttpCli.GetHeaderLineNext; ... if {(FResponseVer = '1.0') or (FRequestVer = '1.0') or} { [rawbite 31.08.2004 Connection controll] }

[twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Ole Braad-Sørensen
On Sun, 17 May 2009 11:32:30 +, you wrote: I saw similar problem with thttpcli and it went away when I cleaned and rebuilt the ICS package. Isn't life strange. I just updated using SVN, cleaned, rebuilt and installed the ICS package. Would you believe it. Now I don't get the errorcode 23396

[twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Ole Braad-Sørensen
On Sun, 17 May 2009 11:32:30 +, you wrote: Please show us what is returned (if anything) when you telnet the mail server from the same machine from where you tried the C++ EXE. Command prompt: telnet hostname 25. The server responds with: 220 apollon.soholm.com ESMTP Sendmail 8.13.2 (and

Re: [twsocket] RcvdStream.Free with 404?

2009-05-17 Thread x x
Right. I understand it eventually must be cleared. I should have been more thorough with my question: When multiple GET requests are performed simultaneously, should RcvdStream.Free still be called in OnRequestDone when errors such as 404 are received? -Original Message- From: Francois

Re: [twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Arno Garrels
Ole Braad-Sørensen wrote: On Sun, 17 May 2009 11:32:30 +, you wrote: I saw similar problem with thttpcli and it went away when I cleaned and rebuilt the ICS package. Isn't life strange. I just updated using SVN, cleaned, rebuilt and installed the ICS package. Would you believe it.