Re: [twsocket] httpcli v6 "bad request"

2007-04-07 Thread Arno Garrels
DZ-Jay wrote: [..] > If I understand your problem, what is happening is this: You submit a > Post request, the server responds with 302, the HttpCli automatically > submits a Get request to the new location, but the server rejected it, > ignored it, or processed it incorrectly because it was expec

[twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
I'm trying to provide a way for email to be sent from my application using TSmtpCli and am having trouble understanding the authentication mechanisim. In Outlook Express you just check a box "My server requires authentication", you put in [EMAIL PROTECTED], you put in your password and it then w

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Arno Garrels
David Bridges wrote: > I'm trying to provide a way for email to be sent from my application > using TSmtpCli and am having trouble understanding the authentication > mechanisim. In Outlook Express you just check a box "My server > requires authentication", you put in [EMAIL PROTECTED], you put in y

[twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
Hello All, How could such a report be caused? Best Regards, SZ date/time : 2007-04-07, 15:49:41, 468ms computer name : FASTREAM user name : Fastream operating system : Windows 2003 Service Pack 2 build 3790 system language : Turkish system up time: 3 hours 32 minutes

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Francois PIETTE
Maybe two times object destroy ? Use FastMM, this would catch such error if you enable it. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "I

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
I am already using FastMM as that's the default in BCB2006! Anything else I need to do? Regards, SZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 4:12 PM Subject: Re: [twsocket] Very strange Abnormal Program T

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Arno Garrels
Just a guess, if you find this comment in HttpProt.pas V6: "// Make FReceiveBuffer at least 8KB larger than actually received data" you should use my fix, I got the same error on freeing the component. Fix: http://www.duodata.de/misc/delphi/OverbyteIcsHttpProt.zip -- Arno Garrels [TeamICS] http:/

Re: [twsocket] httpcli v6 "bad request"

2007-04-07 Thread Steve Endicott
At 12:24 AM 4/7/2007, you wrote: >That appears correct, the THttpCli changes a POST to a GET request >when automatically redirecting. > >RFC1945 however say that this is wrong: That's true. We found the same thing while building an interface to one server. Note, however, the major browsers all

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
This seems more like a workaround than an actual fix. Why should one waste 8KB/THttpCli? Will there be a real fix? Best Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 4:43 PM Subject: Re: [twsocket] Ve

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Arno Garrels
Fastream Technologies wrote: > This seems more like a workaround than an actual fix. Why should one > waste 8KB/THttpCli? Will there be a real fix? This comment is from Francois who implemented a new dynamic buffer in order to get chunked transfer working. In these changes I found a small bug. So

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
Again you confused me! Isn't your code the latest v6 HttpCli? Or is there a better version from Francois? Or has the code forked?? Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 6:22 PM Subject: Re: [t

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> At first download latest beta version, MailSnd demo demonstrates > authentication since years. It's possible to specify a certain > authentication type as well as let the compononent find most secure > type (SmtpCli.AuthType := smptAuthAutoSelect). > Ok, I did that and I selected the smtpAuthAu

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Arno Garrels
David Bridges wrote: >> At first download latest beta version, MailSnd demo demonstrates >> authentication since years. It's possible to specify a certain >> authentication type as well as let the compononent find most secure >> type (SmtpCli.AuthType := smptAuthAutoSelect). >> > > Ok, I did that

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Arno Garrels
Fastream Technologies wrote: > Again you confused me! > Isn't your code the latest v6 HttpCli? Or is > there a better version from Francois? Or has the code forked?? Just tell me whether the comment is there or not! The new version I'm talking about is included in the SSL V6 package only (so far)

Re: [twsocket] httpcli v6 "bad request"

2007-04-07 Thread Francois PIETTE
>>That appears correct, the THttpCli changes a POST to a GET request >>when automatically redirecting. >> >>RFC1945 however say that this is wrong: > > That's true. We found the same thing while building an interface to one > server. Note, however, the major browsers all change the POST to a > GE

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Francois PIETTE
>I am already using FastMM as that's the default in BCB2006! > Anything else I need to do? In FastMM, there are a lot of conditional compilation for many kind of debugging check. You have to turn them on. I think you have to use the source available from the internet to change the settings. --

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Francois PIETTE
> Again you confused me! Isn't your code the latest v6 HttpCli? Or is there > a > better version from Francois? Or has the code forked?? I frequently share alpha code with Arno and vice-versa. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> Any SMTP authentication requires EHLO to be sent instead of HELO. > That helps, I get this back from Elho... < 250-smtp108.sbc.mail.re2.yahoo.com < 250-AUTH LOGIN PLAIN XYMCOOKIE < 250-PIPELINING < 250 8BITMIME RequestDone Rq=10 Error=0 But I still get the 530, don't I have to supply a passwor

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Arno Garrels
David Bridges wrote: >> Any SMTP authentication requires EHLO to be sent instead of HELO. >> > That helps, I get this back from Elho... > > < 250-smtp108.sbc.mail.re2.yahoo.com > < 250-AUTH LOGIN PLAIN XYMCOOKIE > < 250-PIPELINING > < 250 8BITMIME > RequestDone Rq=10 Error=0 > > But I still get

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
The comment is there in the HttpProt prior to your fix. Please send me the best version to this email address. We are an ICS-SSL contributor. BR, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 6:52 PM Subject:

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> Of course, see the MailSnd demo search for method Auth. > > procedure TSmtpTestForm.AuthButtonClick(Sender: TObject); > begin >FAllInOneFlag := FALSE; >SmtpClient.Username:= UsernameEdit.Text; >SmtpClient.Password:= PasswordEdit.Text; >SmtpClient.AuthT

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Arno Garrels
Fastream Technologies wrote: > The comment is there in the HttpProt prior to your fix. Please send > me the best version to this email address. We are an ICS-SSL > contributor. So GET the fix from the URL I posted in one of my replies to this thread today. -- Arno Garrels [TeamICS] http://www.ove

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
I did get it. It seems insufficient! MadExcept no longer produces bug reports but the customer still complains about no-response. BR, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 7:33 PM Subject: Re: [twsocke

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Arno Garrels
David Bridges wrote: >> Of course, see the MailSnd demo search for method Auth. >> >> procedure TSmtpTestForm.AuthButtonClick(Sender: TObject); >> begin >>FAllInOneFlag := FALSE; >>SmtpClient.Username:= UsernameEdit.Text; >>SmtpClient.Password:= PasswordEdi

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Arno Garrels
Fastream Technologies wrote: > I did get it. It seems insufficient! MadExcept no longer produces bug > reports but the customer still complains about no-response. I fixed the component, however not your customer ;-) What does that mean "no-response"? -- Arno Garrels [TeamICS] http://www.overbyte.

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
>> I don't have this method. I downloaded the latest ICS-V5 >> Distribution, should I have downloaded the ICS V5 for Delphi/C++ >> Builder Beta (Nov 11, 2006)? > > Yes please, it includes all fixes as well as interisting new features. > I downloaded the ICS V5 for Delphi/C++ Builder Beta (Nov 11,

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
He says the the server is not responding--not answering new connections. Regards, SZ P.S. Lesson learned, use of a non-native language should be handled with care (to be understood!). ;{} - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sat

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
Does that fixed version includes dynamic arrays for chunked encoding? Customer uses Apache which uses chunked encoding. Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 7:33 PM Subject: Re: [twsocket] Ve

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
How does one install FastMM for ICS app under BCB2006? Please help Francois. Regards, SZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 6:44 PM Subject: Re: [twsocket] Very strange Abnormal Program Termination

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Arno Garrels
Fastream Technologies wrote: > Does that fixed version includes dynamic arrays for chunked encoding? > Customer uses Apache which uses chunked encoding. Concerning chunked transfers Francois is the contact. I'm a newbee in HTTP. > > Regards, > > SZ > > - Original Message - > From: "Ar

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Arno Garrels
David Bridges wrote: >>> I don't have this method. I downloaded the latest ICS-V5 >>> Distribution, should I have downloaded the ICS V5 for Delphi/C++ >>> Builder Beta (Nov 11, 2006)? >> >> Yes please, it includes all fixes as well as interisting new >> features. >> > I downloaded the ICS V5 fo

Re: [twsocket] Very strange Abnormal Program Termination

2007-04-07 Thread Fastream Technologies
Francois, could you send also me the latest alpha? We are eager to test. Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 8:34 PM Subject: Re: [twsocket] Very strange Abnormal Program Termination > Fast

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> I've no idea what went wrong, however there went something wrong. > Check paths etc., obviously you are still acessing the old version. I don't think so, I renamed my existing ICS folder and unzipped the distribution in a new ICS folder. I'm using C++Builder 5, were those files perhaps not up

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Arno Garrels
David Bridges wrote: >> I've no idea what went wrong, however there went something wrong. >> Check paths etc., obviously you are still acessing the old version. > > I don't think so, I renamed my existing ICS folder and unzipped the > distribution in a new ICS folder. I'm using C++Builder 5, were

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread David Bridges
> Maybe that the demos have not been updated for BCB (most likely), however > there should be a new method Auth, as well as properties Username and > Password. So I made my own auth button and yes, it works. Thank you. Db -- To unsubscribe or change your settings for TWSocket mailing list plea

Re: [twsocket] Authenticating with TSmtpCli

2007-04-07 Thread Francois PIETTE
>> I've no idea what went wrong, however there went something wrong. >> Check paths etc., obviously you are still acessing the old version. > > I don't think so, I renamed my existing ICS folder and unzipped the > distribution in a new ICS folder. I'm using C++Builder 5, were those > files > perh

[twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder Beta (Nov 11, 2006)

2007-04-07 Thread David Bridges
I'm trying to upgrade to the beta and I'm getting some error messages. At the beginning of the complie I get... The smtpClientGetData metod referenced by smtpClient->OnGetData has an incompatible parameter list. Remove the reference? After the link I get... [Linker Error] Unresolved external

Re: [twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder Beta(Nov 11, 2006)

2007-04-07 Thread David Bridges
- Original Message - From: "David Bridges" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 07, 2007 8:34 PM Subject: [twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder Beta(Nov 11, 2006) > I'm trying to upgrade to the beta and I'm getting some error mess

Re: [twsocket] Problem upgrading to ICS V5 for Delphi/C++ BuilderBeta(Nov 11, 2006)

2007-04-07 Thread Arno Garrels
David Bridges wrote: > - Original Message - > From: "David Bridges" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Saturday, April 07, 2007 8:34 PM > Subject: [twsocket] Problem upgrading to ICS V5 for Delphi/C++ Builder > Beta(Nov 11, 2006) > > >> I'm trying to upgrade to the b