Re: [twsocket] Proposal to replace TIniFile by TRegIniFilein allv7 demo applic

2008-11-07 Thread Arno Garrels
). That would have been nice. The 'magical way' is to grant access to everyone to those secured objects upon installation, not very British. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applications

2008-11-08 Thread Arno Garrels
simple solution that took not more than a few minutes to change everything. -- Arno Garrels Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Hi, Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. TInifile uses Win32 API

Re: [twsocket] IsAddressValid

2008-11-08 Thread Arno Garrels
? Since ICS works nonblocking it's possible to have multiple instances of THttpCli in the same thread. Just create a list or an array of THttpCli instances and let each instance check one URL concurrently. All instances can use the same event handlers. -- Arno Garrels -- Be Yourself @ mail.com

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in all v7 demo applications

2008-11-09 Thread Arno Garrels
(@SIniFileWriteError, [FileName]); end; Yes, that should work and is the bare minimum required for use in the demos. Though it cannot handle a possible BOM. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in allv7demo applications

2008-11-09 Thread Arno Garrels
was declared Virtual we could derive from TMemIniFile instead, but unfortunately it is not. -- Arno Garrels -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change

Re: [twsocket] Proposal to replace TIniFile byTRegIniFileinallv7demo applications

2008-11-09 Thread Arno Garrels
Francois PIETTE wrote: function TMyUnicodeIniFile.ReadString(const Section, Ident, Default: string): string; begin result:=utf8decode(inherited ReadString(section, ident, default)); end; procedure TMyUnicodeIniFile.WriteString(const Section, Ident, Value: string); begin inherited

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in all v7 demo applications

2008-11-09 Thread Arno Garrels
RTT wrote: Yes, that should work and is the bare minimum required for use in the demos. Though it cannot handle a possible BOM. With a little trick and we just need to rewrite the create constructor. unit UnicodeIniFile; interface type TMyUnicodeIniFile = class(TIniFile) public

Re: [twsocket] Proposal toreplaceTIniFilebyTRegIniFileinallv7demoapplications

2008-11-09 Thread Arno Garrels
Francois PIETTE wrote: I have another concern: It would be very handy if the same class could read the existing ini files (that seems to be the case) AND write them if if possible. This would tremendly help those using many Delphi versions and using simple ansi values. What about an option

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in all v7 demo applications

2008-11-09 Thread Arno Garrels
RTT wrote: The D2009 TInitFile already uses the WritePrivateProfileStringW and GetPrivateProfileStringW versions of the functions, but only work if the ini file already exists and is Unicode. Surprise! That works indeed with UTF-16, however if there is a UTF-8 BOM and data I cannot read a

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in all v7 demo applications

2008-11-09 Thread Arno Garrels
Arno Garrels wrote: function TMyUnicodeIniFile.ReadString(const Section, Ident, Default: string): string; begin result := inherited; if fIsUTF8 then result := utf8decode(result) end; As I wrote in my previous message, this does not work for me. Whenever Windows finds an UTF-8 BOM

[twsocket] New account INI files in the FTP server demo

2008-11-10 Thread Arno Garrels
Angus, can't you create those INI files at run-time rather than put them in the package? It is because I just changed the demos to use a function GetIcsIniFileName which currently returns a subfolder under CSIDL_LOCAL_APPDATA, this can be easily changed though. -- Arno -- To unsubscribe or

Re: [twsocket] FTP language testing

2008-11-10 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: I have added LANG to our server 550 RĂ©pertoire /pub/simtelnet introuvable Nice, I had not yet time to look at your code, does this also define a language specific ANSI code page? I offer to translate to German anyway. Also I'll soon fix a few older

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in allv7 demo applications

2008-11-09 Thread Arno Garrels
Arno Garrels wrote: Arno Garrels wrote: function TMyUnicodeIniFile.ReadString(const Section, Ident, Default: string): string; begin result := inherited; if fIsUTF8 then result := utf8decode(result) end; As I wrote in my previous message, this does not work for me. Whenever Windows

Re: [twsocket] Proposal to replace TIniFile byTRegIniFile in all v7 demo applications

2008-11-09 Thread Arno Garrels
RTT wrote: My fault, now it works. But it won't be the same level of backwards compatibility that can be achieved with a class derived from TCustomIniFile. Can you, please, point one possible problem? If you derive something like the TMemInFile that writes all data in one call to a method

Re: [twsocket] New account INI files in the FTP server demo

2008-11-10 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: can't you create those INI files at run-time rather than put them in the package? Only by adding 50 lines of extra code to the multiple demo programs, instead of having a simple text file someone can edit. It really is overkill for simple demo

Re: [twsocket] GWndHandlerPool is freed before sockets are destroyed

2008-11-12 Thread Arno Garrels
Olivier Sannier wrote: Hi all, Any reactions on this? Thanks, looks OK at the first glance. Raising an exception is IMO a good idea. Will add your code to my working copy soon, hopefully I'll have some time left for ICS this week. -- Arno Garrels Cheers Olivier Olivier Sannier

Re: [twsocket] GWndHandlerPool is freed before sockets are destroyed

2008-11-15 Thread Arno Garrels
Olivier Sannier wrote: Assert(Assigned(GWndHandlerPool), 'GWndHandlerPool is already nil, check your threads!!!'); I just wonder whether we shouldn't check not GUnitFinalized rather than Assigned(GWndHandlerPool), what do you think? -- Arno Cheers Olivier Olivier Sannier wrote:

Re: [twsocket] Fixed small bug in HttpSrv digest auth

2008-11-15 Thread Arno Garrels
Tobias Rapp wrote: Hi! I have found a small bug in ICS V5 HttpSrv.pas within procedure tHttpConnection.Answer401: Header := FVersion + ' 401 Unauthorized' + #13#10 + 'WWW-Authenticate: ' + //'Digest realm=' + FAuthRealm +// original

Re: [twsocket] GWndHandlerPool is freed before sockets are destroyed

2008-11-16 Thread Arno Garrels
Olivier Sannier wrote: Arno Garrels wrote: Olivier Sannier wrote: Assert(Assigned(GWndHandlerPool), 'GWndHandlerPool is already nil, check your threads!!!'); I just wonder whether we shouldn't check not GUnitFinalized rather than Assigned(GWndHandlerPool), what do you think

Re: [twsocket] GWndHandlerPool is freed before sockets are destroyed

2008-11-16 Thread Arno Garrels
Olivier Sannier wrote: Arno Garrels wrote: Olivier Sannier wrote: Arno Garrels wrote: Olivier Sannier wrote: Assert(Assigned(GWndHandlerPool), 'GWndHandlerPool is already nil, check your threads!!!'); I just wonder whether we shouldn't check not GUnitFinalized rather than

Re: [twsocket] GWndHandlerPool is freed before sockets are destroyed

2008-11-17 Thread Arno Garrels
Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, November 16, 2008 3:36 PM Subject: Re: [twsocket] GWndHandlerPool is freed before sockets are destroyed Olivier

Re: [twsocket] Making ServerClass of THttpServer andTFtpServerproperty

2008-11-18 Thread Arno Garrels
it is done with the client class and you get the idea. If you want it for V6 the Ftp server needs to be rewritten first which was much more work (I doubt that Francois wants such basic changes in V6 which is a release candidat now). -- Arno Garrels Best Regards, SZ On Sat, Nov 1, 2008

Re: [twsocket] Making ServerClass of THttpServer and TFtpServer property

2008-11-19 Thread Arno Garrels
Fastream Technologies wrote: Yes we plan to update to v7. I just need to know whether it would work with BCB2007 or do I have to update to BCB2009 for FTPS/HTTPS Server components? It should work with CB2007, checkout latest SVN revision from /branches/icsv7/. -- Arno Garrels On Tue

Re: [twsocket] Posting unicode data in HTTP Post

2008-11-20 Thread Arno Garrels
Irfan Mulic wrote: Hi, I start using ICS components and I really like them. Which ICS version are yuo using? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html I am having troubles to work with unicode data ? Can I get more info is this supported and can I get

Re: [twsocket] Posting unicode data in HTTP Post

2008-11-20 Thread Arno Garrels
-byte form data on the User-Made page on ICS website. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On Thu, Nov 20, 2008 at 5:26 AM, Arno Garrels [EMAIL PROTECTED] wrote: Irfan Mulic wrote: Hi, I start using ICS components and I really like them. Which

Re: [twsocket] Posting unicode data in HTTP Post

2008-11-20 Thread Arno Garrels
outside these rages are encoded '%' + IntToHex(Ord(AnsiChar)) It does not look like an ICS issue to me? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Is it fixed in new versions? HttpCli1.SendStream := TMemoryStream.Create; HttpCli1.SendStream.Write(Data[1

Re: [twsocket] Posting unicode data in HTTP Post

2008-11-20 Thread Arno Garrels
element size of the data array. Question: Does memoNote.Text contain UTF-8 or UTF-16? Maybe it's a TNT memo which contains WideStrings? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html yes it is ICS issue, do you know is it fixed in newer versions? On Thu, Nov 20

Re: [twsocket] Posting unicode data in HTTP Post

2008-11-20 Thread Arno Garrels
UrlEncode(Utf8Encode(memoNote.Text)) should do the trick. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html What should solve my problems with posting from Tnt Memo using ICS? On Thu, Nov 20, 2008 at 12:24 PM, Arno Garrels [EMAIL PROTECTED] wrote: Irfan

Re: [twsocket] ICS v7 BCB2009 compatibility bug

2008-11-21 Thread Arno Garrels
Fastream Technologies wrote: Hello, {$ELSE} Bomb('This component requires Delphi 7 or later'); {$ENDIF} In TFtpServer and TFtpClient, it bombs! Please also add BCB to conditional checks--not only DELPHI7_UP. It's done. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] ICS v7 BCB2009 compatibility bug

2008-11-21 Thread Arno Garrels
OverbyteIcsFtpSrvC.pas yesterday and he seems to have forgotten to remove it from the CB packages. OverbyteIcsFtpSrvC.pas is no longer required, so remove it from your package. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Regards, SZ On Fri, Nov 21, 2008 at 2:06 PM, Arno

Re: [twsocket] ICS v7 BCB2009 compatibility bug

2008-11-21 Thread Arno Garrels
Arno Garrels wrote: Fastream Technologies wrote: When? Did you check other units as well and test the bcbssl12 package under bcb2009? Please clarify. I checked it recently, however in the meanwhile a lot of work has been done, so the BCB packages may not be up to date. And indeed, Angus

[twsocket] FTP server - FEAT response fixed in V5/V6/V7 (updated the repositories)

2008-11-22 Thread Arno Garrels
' the features. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] FTP server - FEAT response fixed in V5/V6/V7(updated the repositori

2008-11-22 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: But in the ICS FTP server a feature line in the listing began with two spaces which prevented some clients from 'seeing' the features. What are the names of these clients? For example FileZilla 2.2.32 client. Ours is not the only FTP server to

Re: [twsocket] Anybody know a good web-based admin unit exampleforTHttpServer?

2008-11-24 Thread Arno Garrels
in \Internet for an example of dynamic pages. -- Arno Garrels Regards, SZ On Mon, Nov 24, 2008 at 2:06 PM, Francois Piette [EMAIL PROTECTED]wrote: I want to make a web-based controller interface for one of our projects. Is there a starting point you know? I know I need to prepare

Re: [twsocket] Which version of OpenSSL v7 uses and where can one getthe DLLs if it is not 0.9.8g?

2008-11-24 Thread Arno Garrels
Fastream Technologies wrote: Thanks in advance, It's easy to build OpenSSL with MinGW, the steps are described in IcsSslHowTo.txt. Or download Subversion, which includes 0.9.8h. v0.9.8i is latest stable OpenSSL version which works with ICS as well. -- Arno Garrels [TeamICS] http

Re: [twsocket] Which version of OpenSSL v7 uses and where can onegetthe DLLs if it is not 0.9.8g?

2008-11-24 Thread Arno Garrels
. Are we guys who include the DLLs in their products at legal risk??? The answer is at the bottom of this page: http://www.openssl.org/ -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On Mon, Nov 24, 2008 at 8:00 PM, Arno Garrels [EMAIL PROTECTED] wrote: Fastream

Re: [twsocket] Which version of OpenSSL v7 uses and where canonegetthe DLLs if it is not 0.9.8g?

2008-11-24 Thread Arno Garrels
Arno Garrels wrote: Fastream Technologies wrote: Is it because of export restriction or something similar why Overbyte cannot supply this v0.9.8i as compiled binary?? No, in Europe the export restrictions are rather low. As I wrote before, it's very easy to compile OpenSSL with the free C

Re: [twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Arno Garrels
), and 0 is if the peer has closed. As I understand the OP calls receive multiple times in OnDataAvailable which is not a good idea. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http

Re: [twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Arno Garrels
Anton Sviridov wrote: Hello, Wilfried! You have calmed me :) Arno Garrels [TeamICS] wrote: As I understand the OP calls receive multiple times in OnDataAvailable which is not a good idea. So, each Recv launches one more OnDataAvail in the future? AFAIK no, only if you do not read all

Re: [twsocket] FRANCOIS--can you HAVE A LOOK? Re: What is the properway to turn off sslv2 inTSslHttpServer and TSslContext?

2008-11-28 Thread Arno Garrels
:= [sslOpt_NO_SSLv2,..]; As displayed in OI. I had to google for this since I'm not familiar with CB. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html HTTPSSLContext-SslOptions sslOpt_NO_SSLv2 sslOpt_NO_SSLv3 sslOpt_NO_TLSv1; if(!useSSLv2) HTTPSSLContext

Re: [twsocket] What is the proper way to turn off sslv2 inTSslHttpServer and TSslContext?

2008-11-28 Thread Arno Garrels
Fastream Technologies wrote: Please let all of us know as this is important for PCI DSS compliance. Set SslVersionMethod of the SslContext to either sslV23_CLIENT or sslV23_Server and add sslOpt_NO_SSLv2 to the SslOptions. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] FRANCOIS--can you HAVE A LOOK? Re: What is theproperway to turn off sslv2 inTSslHttpServer and TSslContext?

2008-11-28 Thread Arno Garrels
]; SslContext1.SslOptions := SslContext1.SslOptions - [sslOpt_NO_SSLv2]; -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html SslContext-SslOptions sslOpt_NO_SSLv2 sslOpt_NO_SSLv3 sslOpt_NO_TLSv1; (removes the three options and then... let's assign the actual

Re: [twsocket] SSL Versions (was: encryption)

2008-11-28 Thread Arno Garrels
work for sure. giving the error unsupported protocol. The same with www.tvcmatrix.com!!! That's live! -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin

Re: [twsocket] FRANCOIS--can you HAVE A LOOK? Re: What is theproperway to turn off sslv2 inTSslHttpServer and TSslContext?

2008-11-28 Thread Arno Garrels
Fastream Technologies wrote: It is rather strange that for the past 5 years this bug survived on our favorite compiler! :-( I never understood why people use a language which partly consist of just comments. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks

Re: [twsocket] Possible BUG: Re: FRANCOIS--can you HAVE A LOOK? Re:What is theproperway to turn off sslv2 inTSslHttpServer andTSslContext?

2008-11-28 Thread Arno Garrels
not set the SslOptions value properly! -- Arno Garrels See: http://www.fastream.net/beta/IQReverseProxy.exe Steps: - create a self-signed pem from SSL tabsheet - disable all of the checkboxes from the same tabsheet - run Status-SSL - Try to access https://localhost with FF/IE. Regards

Re: [twsocket] HTTP Range Problems with Files 2 GB

2008-11-29 Thread Arno Garrels
} THttpRangeInt= LongInt; { Limited to 2GB size } {$ENDIF} If you use Delphi 7 you upgrade to ICSv6 or even ICSv7. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html The following routines have problems: - THttpRangeStream.AddPartStream(Value: TStream

Re: [twsocket] HTTP Range Problems with Files 2 GB

2008-11-29 Thread Arno Garrels
should be replaced by STREAM64 since without STREAM64 being defined it won't work. I also found another bug, see my other mail. -- Arno Garrels I tried V6, but it does not work very well with continous streams, so I will stick with V5, which has proven over the last three years

[twsocket] THttpServer Bug - Infinite loop on error in range-definition

2008-11-29 Thread Arno Garrels
or not (looks rather valid to me, however I did not read the RFC). Anyway the THttpServer treats it as error in THttpConnection.SendDocument: { Error in Range-definition } ProtoNumber := 416; ErrorSend := True; But ConnectionDataSent triggers infinitely due to FDocBuf is nil. -- Arno Garrels

[twsocket] THttpServer fixes for ICS v5/6/7 uploaded to the SVN repositories - please test!

2008-11-30 Thread Arno Garrels
Hi, Fixed responses and an infinite loop when a byte-range-set was unsatisfiable. Added a fix for content ranges with files 2GB as suggested by Lars Gehre [EMAIL PROTECTED]. Replaced symbol UseInt64ForHttpRange by STREAM64. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] Guidelines for using ICS V7 with D2009

2008-11-30 Thread Arno Garrels
to any other valid ANSI code page including UTF-8. New unit OverbyteIcsUtils provides little helpers for code page conversion. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html I found a UNICODE directive in the TSllHttpCli. Should I add this to the project

Re: [twsocket] Multiple OnDataAvailable calls when no data to read

2008-12-01 Thread Arno Garrels
begin if (Buf[Result] = #13) and (Result + 1 Count) and (Buf[Result + 1] = #10) then Exit; end; Result := -1; end; -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- Best regards, Anton -- To unsubscribe or change your

Re: [twsocket] D2009 does not recognize TSslHttpCli

2008-12-01 Thread Arno Garrels
less or no such errors. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] D2009 does not recognize TSslHttpCli

2008-12-01 Thread Arno Garrels
Paul wrote: - Original Message - From: Arno Garrels [EMAIL PROTECTED] A rebuild mostly resolves it, if you define USE_SSL in OverbyteIcsDefs.inc you get less or no such errors. ok, so I need to add all ICS-conditionals in the include file. It seems that in Delphi 2009 the Rebuild

Re: [twsocket] D2009 does not recognize TSslHttpCli

2008-12-01 Thread Arno Garrels
Paul wrote: - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, December 01, 2008 2:53 PM Subject: Re: [twsocket] D2009 does not recognize TSslHttpCli It seems that in Delphi 2009 the Rebuild All button does

Re: [twsocket] D2009 does not recognize TSslHttpCli

2008-12-01 Thread Arno Garrels
Paul wrote: - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, December 01, 2008 4:04 PM Subject: Re: [twsocket] D2009 does not recognize TSslHttpCli So UnicodeString is your only choice and UTF-8 would

Re: [twsocket] [ICS6] Access Violation?

2008-12-02 Thread Arno Garrels
Hello Fred, Do not free the RcvdStream, the component should free it. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fred wrote: Hello I'm obviously doing it wrong: After authenticating to a web server with POST and receiving some cookies, I'm getting

Re: [twsocket] [ICS6] Access Violation?

2008-12-02 Thread Arno Garrels
Arno Garrels wrote: Hello Fred, Do not free the RcvdStream, the component should free it. Sorry, forget this statement, it's nonsense. I'll look at this tomorow. -- Arno Garrels Fred wrote: Hello I'm obviously doing it wrong: After authenticating to a web server with POST

Re: [twsocket] [ICS6] Access Violation?

2008-12-03 Thread Arno Garrels
? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html === procedure TForm1.Button1Click(Sender: TObject); var Data : String; begin Data := 'login=jdoepassword=test'; With HttpCli1 do begin SendStream := TMemoryStream.Create; SendStream.Write

[twsocket] The SVN repositories are currently down

2008-12-03 Thread Arno Garrels
I guess Angus is moving them to another ISP. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http

Re: [twsocket] The SVN repositories are currently down

2008-12-03 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: I guess Angus is moving them to another ISP. It will be moving real soon, but not yet. OK, turned out that it is a router problem of my ISP :( -- Arno Both existing SVN servers are working from here OK. SVN updates are still OK for a few

Re: [twsocket] Status V7 ?

2008-12-05 Thread Arno Garrels
Paul wrote: What's the current status of V7 ? I'm only interested in http(s) At least unit OverbyteHttpProt.pas still includes code which has to be reviewed and modified to work with Delphi 2009. Look at function EncodeLine(). -- Arno Garrels -- To unsubscribe or change your settings

[twsocket] THttpServer new features uploaded to the SVN repository

2008-12-05 Thread Arno Garrels
and post any bugs to the list. Thank you! -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http

Re: [twsocket] THttpServer new features uploaded to the SVN repository

2008-12-05 Thread Arno Garrels
Changes are ICS v7 only. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: Hi, THttpServer --- Added Keep-Alive timeout and a maximum number of allowed requests during persistent connections. Set property KeepAliveTimeSec to zero

Re: [twsocket] Status V7 ?

2008-12-06 Thread Arno Garrels
Arno Garrels wrote: Paul wrote: What's the current status of V7 ? I'm only interested in http(s) At least unit OverbyteHttpProt.pas still includes code which has to be reviewed and modified to work with Delphi 2009. Look at function EncodeLine(). It's done, update your local work copy

Re: [twsocket] TProxyInfo for D2009

2008-12-08 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Paul wrote: I'm trying to use TProxyInfo with D2009. Since Wininet is not unicode enabled, It is. Only some parameters like host names etc. are of type LPSTR. All function and structures used by TProxyInfo are LPSTR, one

Re: [twsocket] TProxyInfo for D2009

2008-12-09 Thread Arno Garrels
starting Win95. UNICODE is defined in Delphi 2009 and better only and executables built with Delphi 2009 run on Windows 2000 and better only. Windows 2000 was released February 2000, IE 5.0 March 1999, so IMHO no problem. -- Arno Garrels Bye, Maurizio

Re: [twsocket] SSL install problem

2008-12-09 Thread Arno Garrels
library path that points to another ICS directory and remove a previously installed ICS package. In Delphi 2006 build and install OverbyteIcsSslDel100Package.bdsproj In Delphi 2007 build and install OverbyteIcsSslDel110Package.dproj -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] Changing a socket's Addr and Port at runtime

2008-12-09 Thread Arno Garrels
in WSocket.pas. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- elektronik-labor CARLS GmbH Co. KG Stefan Paege Fon: +49 5973 9497-23 Fax: +49 5973 9497-19 elektronik-labor CARLS GmbH Co. KG Kommanditgesellschaft: Sitz Neuenkirchen

Re: [twsocket] TSmtpCli + TLS + SSL Support

2008-12-09 Thread Arno Garrels
it. Is there a new version of ICS component that supports SSL and TLS. Yes, TSslSmtpCli. It is strongly suggested to upgrade to ICS V6 or V7 if you use Delphi 7 or better and to use the SVN repository since the zip download is most likely out of date. More details at http://www.overbyte.be -- Arno

Re: [twsocket] TProxyInfo for D2009

2008-12-09 Thread Arno Garrels
Arno Garrels wrote: Maurizio Lotauro wrote: so it should be enough to add just one line: if @InternetQueryOption = nil then begin {$IFDEF UNICODE} @InternetQueryOption := GetProcAddress(WinInetHandle, 'InternetQueryOptionW'); {$ELSE} @InternetQueryOption := GetProcAddress

Re: [twsocket] SSL install problem (Arno Garrels)

2008-12-10 Thread Arno Garrels
define USE_SSL in OverbyteIcsDefs.inc. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html albert A Drent wrote: (tried to post this through the ics-ssl list, but since my email changed to albert dot drent at rug dot nl I was bounsed. Francois, could you correct

Re: [twsocket] TProxyInfo for D2009

2008-12-10 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Arno Garrels wrote: Maurizio Lotauro wrote: [...] I'm in doubt about this. The remarks of INTERNET_PER_CONN_OPTION Structure say: In Internet Explorer 5, only the ANSI versions of InternetQueryOption

Re: [twsocket] TProxyInfo for D2009

2008-12-11 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Maurizio Lotauro wrote: [...] This is the point. The above remarks is really vague. The Unicode version exists in IE5 but down's work or doesn't exist at all? And even more questions: What about the record

[twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Arno Garrels
Hi, What's going on: for (I = 0; I HttpCli1-RcvdHeader-Count; I++) AV here == DisplayMemo-Lines-Add(hdr + HttpCli1-RcvdHeader-Strings[I]); HttpCli1-RcvdHeader is assigned (of course) and Count is greater zero, however I get an AV on the first iteration?? -- Arno Garrels

Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Arno Garrels
Arno Garrels wrote: for (I = 0; I HttpCli1-RcvdHeader-Count; I++) AV here == DisplayMemo-Lines-Add(hdr + HttpCli1-RcvdHeader-Strings[I]); Turned out to be just the common 'compiler switch hell' in C++ Builder. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Arno Garrels
2007, Builder 2009 and 2006 worked fine with the default switches. -- Arno Garrels -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: Friday, December 12, 2008 14:10 To: ICS support mailing Subject: Re: [twsocket

Re: [twsocket] SSL install problem

2008-12-12 Thread Arno Garrels
uses revision numbers, right click a directory or single file in you local work copy and select TortoiseSVN | Show Log. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Darin -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun

[twsocket] Repackaging - New install procedure in ICSv7!

2008-12-13 Thread Arno Garrels
to the list, thank you. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] THttpServer fixes for ICS v5/6/7 uploaded to theSVNrepositories - please test!

2008-12-14 Thread Arno Garrels
Lars Gehre wrote: Hi, Fixed responses and an infinite loop when a byte-range-set was unsatisfiable. Added a fix for content ranges with files 2GB as suggested by Lars Gehre l...@dvbviewer.com. Replaced symbol UseInt64ForHttpRange by STREAM64. -- Arno Garrels [TeamICS] Sorry

Re: [twsocket] How do we create a AVL Cache component for SSL?

2008-12-16 Thread Arno Garrels
). -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] How do we create a AVL Cache component for SSL?

2008-12-16 Thread Arno Garrels
Arno Garrels wrote: Update your SVN repository to the head revision (note that an update never overwrites any changes made to the local work copy). I should have added silently you'll get dialogs if there were a conflicts. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] Mailing list usage

2008-12-17 Thread Arno Garrels
Guillaume ROQUES wrote: Hi, Another disadvantage of the mailing list is to Search a topic Try: http://marc.info/?l=twsocket -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] installing ssl

2008-12-18 Thread Arno Garrels
you'll get when conditional define USE_SSL is not defined in the package project options. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html albert - Original Message - From: Arno Garrels arno.garr...@gmx.de To: ICS support mailing twsocket@elists.org Sent

Re: [twsocket] TWSocket Digest, Vol 300, Issue 3

2008-12-18 Thread Arno Garrels
directory in Tools | Options | Library-Win32 | Library path. But if you set use_ssl in the overbyteicsdefs.inc then it will work. Maybe this forced a rebuild. Disadvantage is that building projects without SSL code becomes more complicated. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] installing ssl

2008-12-18 Thread Arno Garrels
they must be buggy of course (sarcasm, sorry). -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] installing ssl

2008-12-18 Thread Arno Garrels
was to define USE_SSL in the INC file as a workaround. I too found the USE_SSL defined in the compiler options therefore I assumed that USE_SSL was defined. However that is not the case if it has to be added to inc file. It must not be defined there, however should work in _any case. -- Arno

Re: [twsocket] TX509Base

2008-12-28 Thread Arno Garrels
: The IDE provides a feature Find in Files in the Search menu. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

Re: [twsocket] [ICS-SSL] problem with Ftp over TLS

2008-12-29 Thread Arno Garrels
. Get the TortoiseSVN client and grab the latest version from the SVN repository, more details on the ICS website at www.overbyte.be. BTW: Since ICS-SSL is freeware now, please use TWSocket list for ICS-SSL related topics as well. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
-lifetime of one minute. But even if it would use a one-time nonce (which added some overhead) the browser may cache and resend user credentials next time he receives a 401 response from the server. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
. Is there really no solution for this? Are you saying that the browser caches and reuses user credentials even though they did not login the user previously? And the browser does not pop up the login dialog when authentication failed? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
with the wrong password. This repeats with the webserver demo easily. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
' then Exit; daBoth: { whatever it is } end; // FAuthDigestStale := TRUE; == outcomment { AG } .. if (LastTime + t1) t2 then Result := TRUE else == add { AG } FAuthDigestStale := TRUE; == add { AG } What do you think? -- Arno

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
TriggerAuthResult(FAuthenticated); end; end .. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-02 Thread Arno Garrels
entered user name and password when the stale flag is set to false. I've seen logout links only in web applications using non-HTTP authentication so far. However I think a new published property that allows to set the lifetime of the nonce could be a improvement. -- Arno Garrels

Re: [twsocket] TSmtpCli + TLS + SSL Support

2009-01-05 Thread Arno Garrels
. What do I need to set on the TSslSmtpCli parameters? Which ones are unclear or what do you want to achieve? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org

[twsocket] THttpCli digest and basic authentication

2009-01-05 Thread Arno Garrels
' at the application level or maybe in derived classes. Currently there is IMO no such option, the 401 and 407 error codes are handled silently internally. Any thoughts and suggestions? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings

Re: [twsocket] TSmtpCli + TLS + SSL Support

2009-01-06 Thread Arno Garrels
TLS on port 25: Connect - Ehlo - StartTls - Ehlo - Auth - MailFrom - RcptTo - Data - Quit If you do not tick the SslVerifyPeer checkbox neither CA File nor CA Path are required, Cert File, Key File and Passphrase are not required with gmail. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] THttpCli digest and basic authentication

2009-01-07 Thread Arno Garrels
with Tomcat I planned to revise it to avoid the double request. Yes, please send it as PM. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo

Re: [twsocket] FW: VerifySSLPeer with new certificates.

2009-01-07 Thread Arno Garrels
to connect, Hi, Hard to know what went wrong, I never tried this batch file. Do these demos work with the PEM files distributed with ICS? They are of course expired, but they should work nevertheless. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] FW: VerifySSLPeer with new certificates.

2009-01-08 Thread Arno Garrels
there. Once you know the basics about certificates you may also want to try XCA, which is a free GUI application to carry a small CA, available at sourceforge.net. BTW: Please use a meaningful subject line the next time, thanks. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

<    7   8   9   10   11   12   13   14   15   16   >