[twsocket] Stopping an THttpCli GET request after the headers

2013-04-12 Thread Albert Wiersch
the document which is a waste for my purposes? Will calling Abort() or CloseAsync() in OnHeaderEnd() work? What is the best way? Thanks, Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- To unsubscribe or change your settings for TWSocket mailing list

[twsocket] HTTPS under WINE doesn't work

2013-02-08 Thread Albert Wiersch
?sClass=versioniId=27614 Thanks, Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- 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] Authentication broken or has problems with HTTP/1.1?

2013-01-24 Thread Albert Wiersch
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels I don't know what the problem is, the only way to know is to try to reproduce the reported problem. Do your users connect thru a proxy with HTTP authentication and if yes, what type of proxy

[twsocket] Authentication broken or has problems with HTTP/1.1?

2013-01-21 Thread Albert Wiersch
that the authentication doesn't work in my recent releases, which default to HTTP/1.1 now instead of HTTP/1.0. Thanks. -- Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http

[twsocket] THttpCli - How to know what URL is requested?

2012-12-20 Thread Albert Wiersch
on the current URL (as far as I know anyway). Thanks, Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit

Re: [twsocket] THttpCli - How to know what URL is requested?

2012-12-20 Thread Albert Wiersch
-Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of brian - You can use the OnLocationChange event to know when the URL changed. That seems to let me know when the 'Location' property changes (like in response to a 'Location' HTTP

Re: [twsocket] THttpCli - How to know what URL is requested?

2012-12-20 Thread Albert Wiersch
-Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of brian - Then it should be Location. checking LocationChange and RequestDone for the loc ends in the same final URL at the end, going from .com to the localized domain Hello,

Re: [twsocket] Did I find a bug in THttpCli? (Beta fix available for download)

2012-12-17 Thread Albert Wiersch
reply back if there is anything to report after further testing. Thanks, Albert Wiersch -- 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] Did I find a bug in THttpCli?

2012-12-12 Thread Albert Wiersch
Please read my previous messages in TWSocket. There are just two 'small' bugs: 1) property Location doesn't include the port number and 2) the Host header lacks the port number as well which is the reason why your php script reports port 80 though the client actually is connected to port

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread Albert Wiersch
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels If you just recognized that string property Location doesn't include the port number then that might be a bug. However relocation works without problem for me with the OverbyteIcsWebServ demo

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread Albert Wiersch
not sure who I should contact about getting this resolved in the code base? Thanks, Albert Wiersch -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of RTT Sent: Monday, December 10, 2012 10:40 AM To: ICS support mailing Subject: Re

[twsocket] Did I find a bug in THttpCli?

2012-12-07 Thread Albert Wiersch
-redirect2.php Header Content-Length: 0 Header Connection: close Header Content-Type: text/html; charset=utf-8 Location Changing to: http://www.htmlvalidator.com/test/cookies/test-redirect2.php Thanks, Albert Wiersch -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] Cookies redirection with THttpCli

2012-12-06 Thread Albert Wiersch
Regarding HttpCli, If there is a redirection, then I need to reset the cookie based on the redirected URL, correct? Is there anything special that needs to be done in this case? Thanks, Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http://www.htmlvalidator.com

[twsocket] Is it safe to use one SSL context object for many requests?

2012-11-30 Thread Albert Wiersch
Is it safe to create one TSslContext context object and use it for multiple requests, even multiple async requests running at the same time? Thanks, Albert Wiersch -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo

Re: [twsocket] 403 when requesting https://www.ilac.org

2012-10-08 Thread Albert Wiersch
Thanks Arno! I will try that. This brings up a question that perhaps you can answer. Should I default to downloading URLs and checking links with HTTP/1.1? Is there anything I should know other than simply changing the version property on the component? Thanks, Albert Wiersch -Original

[twsocket] 403 when requesting https://www.ilac.org

2012-10-05 Thread Albert Wiersch
Header Content-Type: text/html; charset=iso-8859-1 StatusCode = 403 ReasonPhrase = Forbidden Thanks, Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] 403 when requesting https://www.ilac.org

2012-10-05 Thread Albert Wiersch
Hi Arno, A GET works fine however a HEAD returns 403 (tested with latest IcsHttpsTst FireMonkey demo). Interesting. I still get a 403 with a GET. I'm using XE (C++Builder) and ICS-V7. Are you able to provide all the headers that were used when you made your successful GET request?

Re: [twsocket] 403 when requesting https://www.ilac.org

2012-10-05 Thread Albert Wiersch
A GET works fine however a HEAD returns 403 (tested with latest IcsHttpsTst FireMonkey demo). Hi Arno, I tried with the HTTPS TEST and got a 403 with GET? Any ideas? This was with XE so no FireMonkey. -- Albert Wiersch AI Internet Solutions LLC supp...@htmlvalidator.com http

Re: [twsocket] AQTime reporting leak withDispatchMessage() usingTHttpCli

2011-03-14 Thread Albert Wiersch
Albert, do you really need multithreadness with ICS? It's asynchronous so you just need one additional thread that will launch and control all sockets. That's what I'm doing... just one additional thread for the HTTP requests. I don't have a thread for every HTTP request. And regarding the

Re: [twsocket] AQTime reporting leak withDispatchMessage() usingTHttpCli

2011-03-11 Thread Albert Wiersch
Hi Arno, Yes, it works. What does that mean? It mostly works as it seems to work properly, but I suppose the devil is in the details... there may be hidden issues that are not coming up yet or not making themselves known (yet). I have a a message loop for the main thread... Then it

Re: [twsocket] AQTime reporting leak withDispatchMessage()usingTHttpCli

2011-03-11 Thread Albert Wiersch
It is safe to have each HttpCli using his own TMemoryStream and have a lot of HttpCli running concurrently. It is unsafe to have the same TMemoryStream used by several HttpCli components unless you know exactly what you are doing. I would not recommand it. Great. I was hoping that was the

Re: [twsocket] AQTime reporting leak with DispatchMessage() usingTHttpCli

2011-03-10 Thread Albert Wiersch
All threads must have a message loop otherwise ICS won't work. Yes, it works. I have a a message loop for the main thread... I support the same message loop is used for the threads created from that thread. ICS works but my issue is with small memory leaks as reported by AQTime. When a user

[twsocket] AQTime reporting leak with DispatchMessage() using THttpCli

2011-03-09 Thread Albert Wiersch
the number of memory leaks, but I'm still getting some. Any ideas? Was an issue that might cause this fixed in more recent versions? Perhaps it wasn't completely fixed? Thanks. -- Albert Wiersch AI Internet Solutions supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- To unsubscribe

[twsocket] Multi-threaded VCL architecture question

2011-03-07 Thread Albert Wiersch
? Or perhaps they could be false? Thanks! -- Albert Wiersch AI Internet Solutions supp...@htmlvalidator.com http://www.htmlvalidator.com/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

[twsocket] Specify full paths to libeay32.dll and ssleay32.dll

2009-09-14 Thread Albert Wiersch
. So how can I specify a direct path to these DLLs to make sure they are found? I checked TSslContext and it did not seem there was a way to specify the full paths to the DLLs. Thanks. -- Albert Wiersch AI Internet Solutions supp...@htmlvalidator.com http://www.htmlvalidator.com

Re: [twsocket] Specify full paths to libeay32.dll and ssleay32.dll

2009-09-14 Thread Albert Wiersch
I think I found a solution to my problem. I am adding the needed path to the PATH environment variable (if it's not already there) and this seems to work. If there is a better solution, then I'd still like to know. Thanks. -- Albert Wiersch AI Internet Solutions supp...@htmlvalidator.com http

Re: [twsocket] Getting DNS MX record

2008-01-09 Thread Albert Wiersch
. Should I use TCP or UDP and what is the difference when it comes to getting an MX record? Is it best to just use TCP? Basically, I just want to verify that there's an MX record for the domain of an email address. Is there an easier way to do this? Thanks for any help you can provide. -- Albert Wiersch

Re: [twsocket] Getting DNS MX record

2008-01-09 Thread Albert Wiersch
I discovered DnsQuery() in Windows 2000+. It looks like this will meet my needs much better than TDnsQuery. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[twsocket] Getting DNS MX record

2008-01-08 Thread Albert Wiersch
record? Basically, I just want to verify that there's an MX record for the domain of an email address. Is there an easier way to do this? Thanks for any help you can provide. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -- To unsubscribe or change

Re: [twsocket] ICS V6 and C++Builder 2006 compile

2007-12-12 Thread Albert Wiersch
Well, I don't know why it was necessary but I added Forms:: and V6 seems to be working now. I assume that V6 is at least as stable as V5 even though it is still beta? Thanks. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message

[twsocket] FTP link checking with FTP client

2007-12-12 Thread Albert Wiersch
Professional). -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -- 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

[twsocket] Latest V5 BETA in C++Builder 2006 Compile problems

2006-08-14 Thread Albert Wiersch
Httpcontcod.hpp(23): namespace Httpcontcod Httpcontcod.hpp(71): class THttpContentCoding For these lines in Httpcontcod.hpp: __property bool Active = {read=GetActive, nodefault}; __property AnsiString Coding = {read=GetCoding}; -- Albert Wiersch AI Internet Solutions

Re: [twsocket] ICS-V6 new beta uploaded

2006-06-13 Thread Albert Wiersch
Is this considered stable enough for commercial use and does it have BDS 2006 project files for C++Builder 2006 use? Thank you. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[twsocket] What to use with BDS 2006

2006-06-12 Thread Albert Wiersch
. Are there any SSL enabled components that are non-BETA or stable enough for a release application for C++Builder 2006? Thank you! -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] What to use with BDS 2006

2006-06-12 Thread Albert Wiersch
you. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fastream Technologies Sent: Monday, June 12, 2006 11:27 AM To: ICS support mailing Subject: Re: [twsocket

[twsocket] C++Builder 2006 and ICS

2006-01-31 Thread Albert Wiersch
the components are available in the C++Builder personality? By the way, it seems I also have this problem with some other components. I need them in the C++Builder personality but they're only available in the Delphi personality. Thank you. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http

Re: [twsocket] C++Builder 2006 and ICS

2006-01-31 Thread Albert Wiersch
a package for C++Builder 2006 or can someone guide me in creating my own? -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Tuesday, January 31

Re: [twsocket] THttpCli and redirected links bug - continued

2005-09-28 Thread Albert Wiersch
I have worked around this issue by clearing RcvdStream when the LocationChange event is called using: if (HttpCli-RcvdStream) { HttpCli-RcvdStream-Seek(0,soFromBeginning); } By the way, I hope the above is sufficient to clear the stream but I'm not sure that it is. If it isn't can

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-09-22 Thread Albert Wiersch
Hello, I am having a problem using THttpCli and redirected links. It appears similar to this issue I am replying to, probably the same issue. It seems OnRequestDone is being called twice when I try to get a link that is redirected. Has this been addressed/fixed? Thank you! -- Albert Wiersch AI

[twsocket] Address already in use (Error #10048)

2005-04-29 Thread Albert Wiersch
a different # of these errors in the reports. Which means the reporting of these errors are not consistent. Any ideas? I have not seen this myself or had other reports of it. Could it be caused by some firewall software the user is running? -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED

RE: [twsocket] HELP with NTLM authentication

2005-03-18 Thread Albert Wiersch
/p /ul /font/td /tr /table /body /html END DOC END DOC END DOC -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tibor Csonka Sent: Friday, March

RE: [twsocket] HELP with NTLM authentication

2005-03-17 Thread Albert Wiersch
to view this page. When I switch the server to accepting basic authentication, it works. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tibor Csonka Sent