Hi !
I’m planning the next ICS version…
Being unable to use any features added to Delphi in the last 10 years is
very restricted. Maybe we need to cease support for old Delphi versions ?
Of course ICS V5 and V7 will remains available however, the only changes
will be bug fixes.
What do you
It's an page request that generates a 301 status. HttpAsy is not a
threaded application, seems there the same url will then not generate
a problem. HttpThr1 doesn't do a async call so again no problem.
There should be no difference between running the component in the
context of a worker thread
Hi,
thanks for the report.
Sorry to inform you that the problem is still there. Even when not behind
a
proxy the GetAsync will fired the requestdone even when not ready causing
the next call to generate an exception "HTTP component is busy"
Are you able to reproduce the issue with OverbyteH
Arno Garrels wrote:
Frans van Daalen wrote:
One was using webmarshal and the other ISA. But i'm not behind a
proxy and also still keep getting the "HTTP component is busy"
error message when using the async get.
It still doesn't work probably so don't send it
Arno Garrels wrote:
Frans van Daalen wrote:
One was using webmarshal and the other ISA. But i'm not behind a
proxy and also still keep getting the "HTTP component is busy"
error message when using the async get.
It still doesn't work probably so don't send it
it's time for a rewrite from
scratch IMO.
And give it a different name, to bypass the "no brake early code" rule,
or some of the annoyances will have to remain. Or start a new branch of
renewed components.
And, IMHO, if technically possible, the THttpCli should mix HTTP and
HTTPS, and handle in
One was using webmarshal and the other ISA. But i'm not behind a
proxy and also still keep getting the "HTTP component is busy" error
message when using the async get.
It still doesn't work probably so don't send it to your customer yet.
I'm working on this stuff again since a couple of hours
What proxy server does your client use?
One was using webmarshal and the other ISA. But i'm not behind a proxy and
also still keep getting the "HTTP component is busy" error message when
using the async get.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
That's not all, I found and fixed some more problems so far.
I just checked in Rev. #670 into SVN, please test the fix
and report back as soon as possible, thanks for your help.
Log:
Proxy authentication with relocations (hopefully) fixed. SSL not tested
yet.
If it still doesn't work it's prob
Update : Seems there are still scenario's where the problem returns
also sometimes the proxy settings are lost creating a 407 when a
relocation happens. Seems to happen when executing a GetAsync and a
relocate is triggered (with follow relocation set)
Thanks for the report. That's probably becau
You are right, I did not test the GetAsync, in async mode
RequestDone is actually fired with StatusCode 0 after relocation.
Triggered by a call to CheckDelaySetReady in GetBodyLineNext.
When I add a check for FLocationFlag there it _SEEMS_ to fix it,
has to be still tested very hard in order n
You are right, I did not test the GetAsync, in async mode
RequestDone is actually fired with StatusCode 0 after relocation.
Triggered by a call to CheckDelaySetReady in GetBodyLineNext.
When I add a check for FLocationFlag there it _SEEMS_ to fix it,
has to be still tested very hard in order n
Frans van Daalen wrote:
seems that the bug is also somewhere related to the NTLM code or call
because the icslogger shows the following
- Starting relocation process
- state = httpReady
- PrepareNTLM
- PrepareNTLM
- RequestDone <psss why is that
th
Forgot to say that the logged status after the call is almost always
HttpDnsLookup
and that the exact line in HttpRequestDone is
If (Sender as ThttpCli).State in [httpReady,httpAborting,httpClosing]
then
Begin
PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0);
I
);
- Original Message -
From: "Frans van Daalen"
To: "ICS support mailing"
Sent: Thursday, December 23, 2010 6:32 PM
Subject: [twsocket] HttpCli / Async in thread problems
I have this code
HttpClient.OnRequestDone := HttpRequestDone;
HttpClient.OnCommand
I have this code
HttpClient.OnRequestDone := HttpRequestDone;
HttpClient.OnCommand := HttpClientCommand;
HttpClient.OnLocationChange := HttpClientRelocate;
httpclient.GetASync;
httpclient.CtrlSocket.MessageLoop
in HttpRequestDone i have the following code
PostMessage((Sender as THttpCli).CtrlSo
Hi Xavier,
Francois is trying to tell you that you need to read some more about the
difference between post and get and the way those work in a form.
Try the following
Host: 81.184.21.22:100
url = POST /hfs/.
data =
fileupload1=C%3A%5CDocuments+and+Settings%5C%5CDesktop%5Ctest.txt&upbtn=
- Original Message -
From: "Francois Piette" <[EMAIL PROTECTED]>
>> Angus and I added UTF-8 support to the TFtpCli V7.
>
> I think Angus and Arno deserve a BIG thank from all of us for the huge
> work
> they've done supporting internationalisation in FTP component.
> Thanks guys !
>
+1
- Original Message -
From: "Merijn Bosma" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 10, 2008 1:57 PM
Subject: [twsocket] trying to avoid MS tcp throttling ('half-open'
connections limit); problems with aborting connections.
> Hi all,
>
> We've been using ICS for quite a while now, b
did you test it with overbyteicshttptst.exe ? I get the same results as in
IE
Frans
- Original Message -
From: "Jean-Paul Passama"
Hi all,
I try this request with my browser :
http://www.bridgeplus.com/get_participation_essai.php?cl=5500051&trn=M200704
I have a good result (Ok at the
From: "Frans van Daalen"
>
>> procedure Purge; // Purge all expired cookies
>
> ? what should this one do?
>
arg maybe I schould read the command about the expired cookies :-)
--
To unsubscribe or change your settings for TWSocket mailing list
please goto h
From: "Arno Garrels"
>
> Instead the component should provide access to parts of a URL,
> either by var-parameters in event OnLocationChange
As said before the OnLocationChange is to late. That event is triggered just
before the relocate will execute. All properties of the thttpcli are then
alre
From: "Francois PIETTE"
>
>> For all readers, if you can think of any cookiemanager functions etc,
>> just
>> list them and I'll see what I can do.
>
Your funtions are based on the assumption that there is a manager per
httpcli, but maybe beter to have a manager that can handle multiple httpcli?
From: "Francois PIETTE"
>>> Note that you can derive your own HTTP component from ICS component and
>>> add
>>> the storage or manager you like. In my opinion, it is better to write a
>>> separate class for cookie management and link that class to your HTTP
>>> component. A cookie manager component
From: "Francois PIETTE"
> Normally, cookies are managed by the application. It is not always that
> simple because of path and expiration. You can have a lot of cookies
> grabbed
> from one or even several URL while redirecting. So you should really write
> some manager code to have cookies somewh
While the discussion for the urlencode on autorelocate is going nicely :-) I
also have a small remark to make about the cookie property.
Currently the following is done when a cookie is received
-
else if Field = 'set-cookie' then begin
bAccept := TRUE;
my 2 cents on this :
If you feed Thttpcli.url with a invalid url no urldecode is executed. To
keep consistency in behavior I would not just do an automatic urldecode on a
relocate.
The main issue is however that with the followrelocate set it will generate
an error while a browser will not.
T
> Frans,
> As I mentioned before, replacing spaces will still
> leave you open to other invalid characters. If you
> want a quick fix for your current problem, then I
> suggest URL-encoding the entire URL instead of just
> the the spaces. Its been a while since I've used
> HttpCli, so I'm not s
>
> In my Ethereal dump the location-header of the 301-response already has
> the space, so the server simply tries to redirect to an invalid URL, do
> we really have to workaround such invalid URLs in the THttpCli?
>
With followRelocation := True this URL will generate a 400 on ThttpCli with
abs
>
> Notice that replacing spaces may not suffice, as it may fail too if any
> other unencoded character is included; so if you want HttpCli to handle
> it, I would suggest rather a call to an HTML-Encode function for the
> URL prior to posting the response. However, I still think that this
> shoul
- Original Message -
From: "DZ-Jay" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, April 19, 2007 11:44 AM
Subject: Re: [twsocket] httpcli v6 "bad request"
>
> On Apr 18, 2007, at 15:11, Frans van Daalen wrote:
>
>> Plea
the header
p = "http://www.hedaal.nl/tmp/to here.html"
response.redirect p
----
Frans
----- Original Message -
From: "Frans van Daalen" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, April 18, 2007 6:49 PM
Subject: Re
v6 "bad request"
> Hello Frans,
>
> I'm back from vacation and see your messages.
> Do you have a reproductible case that I could try easily ?
>
> --
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
&g
arggg...found it!
The location url contains a space. I'm now trying to solve this. Using the
OnLocationChange to adjust the url doesn't work because of
---
THttpCli.StartRelocation
.
.
.
if Assigned(FOnLocationChange) then
FOnLocationChange(Self);
SaveLoc
>>>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
>
> 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 expecting a Post
> req
some security product which filter your requests ?
>
> --
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> - Original Message -
> From: "Frans van Daalen" <[EMAIL PROTECTED]>
>
Hi all,
Something i'm trying to solve for some time now
I have http.postasync call that returns a "Bad Request" Using a
sniffer however I see no such respons from the server, in fact I can only
see the
expected response! (302)
Anyone with a hint where to start looking?
--
To unsubscribe or
>I have a multi-threaded application that uses a dynamically created
> THttpCli synchronously. I know that ICS is normally used
> asynchronously, but I could not determine a good way to handle that
> with all the dynamically created threads I have to use for database
> access anyway.
>
> When I w
>
> ... and I get a Violation access. I guess it's because all the THttpCli
> uses the same RequestDone procedure (the THttpCli is known by its Tag :
> 1 to 5).
>
where did you get the av, and can you show the code for that line?
--
To unsubscribe or change your settings for TWSocket mailing l
<<
So how to proceed? Can we come up with some other test scenarios?
The answer must have something to do with _how_ ICS load the dll... or any
other ideas?
// Henrik >>
Henrik, any default units that gets automatically added in your project like
madexcept or fastmm4 ?
--
To unsubscribe or
- Original Message -
From: "Aleksey Potjomkin" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 12, 2006 10:36 PM
Subject: Re: [twsocket] TWSocket Digest, Vol 199, Issue 2 (Aleksey
Potjomkin)
> Hello !
>
> > just download the ics v5 and then have a look in de ics/internet
> directory
>
> >Have a look at FtpAsy sample program (In ICS-V5 but also good for V6
> >provided you change the uses clause).
>
> Sorry, but i couldn't find any such sample as in ICS archive, same not at
> your website (User made section). Can you please give me exact way where
> to
> get this sample ?
>
>
>> >
>> > Question: We do understeand the word 'Freeze' the right way ? Form
>> > cannot moved, closed, application cannot quit, etc... Right ?
>> >
>> It was writen in some previous posting that the application was
>> then at 50% cpu, so on a hyperthreaded cpu, the application is in
>> some fast
>
> Question: We do understeand the word 'Freeze' the right way ? Form
> cannot moved, closed, application cannot quit, etc... Right ?
>
It was writen in some previous posting that the application was then at 50%
cpu, so on a hyperthreaded cpu, the application is in some fast loop, i gues
--
T
<>
Sorry, for not expressing myself any better.
My question was "If you run the debug and while entring the buttonclick is
the .release finished so did you find the form to be free-ed already" and
my second remark was "If you replace the .release with .free is the problem
still there?".
My f
>> I normally just call .free never used .released.
>
> You have to use Release when called from an event handler which originate
> from the form you are freeing. Release make sure all curent events are
> processed. Free does an immediate free which will crash the application if
> one event handl
- Original Message -
From: "Henrik" <[EMAIL PROTECTED]>
To:
Sent: Monday, December 11, 2006 9:59 AM
Subject: [twsocket] Freeze when using smtp after recreating its parent form
> Hi!
>
> I have probably misunderstood something because I get the same behavior
> described below no matter
What is the value of WSocketGCount when you get the av?
- Original Message -
From: "Marcelo Grossi" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, December 04, 2006 1:17 PM
Subject: Re: [twsocket] Acess Violation - TCustomWSocket
> Anyone has any idea on this?
>
> Best rega
- Original Message -
From: "Cosmin Prund" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, November 25, 2006 2:07 PM
Subject: [twsocket] THttpCli.GetAsync without any time-out implementation?
> Hello!
>
> Two simple questions, both related:
>
> (1) Is it OK to create a n
- Original Message -
From: "Cosmin Prund" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, November 20, 2006 10:16 AM
Subject: Re: [twsocket] What might cause ICS to fail and we need to be aware
of?
> Francois Piette wrote:
>> I don't know of ANY component where it is safe
- Original Message -
From: "jan hek" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, October 18, 2006 3:48 PM
Subject: Re: [twsocket] ICS V6. and W98/W95
Hello François,
Applications generated by Delphi 7 with ICS v6 don't work under W95/W98. I
tested in W95 and W98SE.
If
- Original Message -
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 18, 2006 12:20 PM
Subject: [twsocket] Connection Problem SFTP
Hi,
I'm struggling with a strange problem at the moment establishing a SFTP
connection. (Delphi 6)
Whe
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, October 09, 2006 6:36 PM
Subject: Re: [twsocket] Bug found in THttpCli--seeking solution, please
help!
>>> Please use the THttpCli demo to navigate to http://www.zaman.com.tr/pics
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, October 09, 2006 5:21 PM
Subject: [twsocket] Bug found in THttpCli--seeking solution, please help!
> Dear ICS People,
>
> Please use the THttpCli demo to navigate to http://ww
- Original Message -
From: "Abdullah AlQasim" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, October 06, 2006 3:51 PM
Subject: Re: [twsocket] How to use THttpCli with threads?
>I think the best way Francois provide us a full multi-threading example
> for HttpCli or any me
Hi,
I have several thttpcli's in serveral threads doing some websearching. Can
someone point me to a way to keep track of the total kb send/recieved
/minute by all thttpcli's together.
Thanks in advance
Frans
--
To unsubscribe or change your settings for TWSocket mailing list
please goto ht
some proxy-servers do not allow the head command.
Frans
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, August 03, 2006 3:36 PM
Subject: [twsocket] Problem with THttpCli
> Hello,
>
> I am trying to add our web server cac
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, July 04, 2006 7:29 PM
Subject: Re: [twsocket] THttpCli v6 - Relocation Problem
> Frans van Daalen wrote:
>> Arno,
>>
>> I tested this u
shows
DoRequestSync
Application.ProcessMessages
with fstate = httpwaitingbody.
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, July 04, 2006 8:07 AM
Subject: Re: [twsocket] THttpCli v6 - Relocation Problem
> Fran
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
..>
> Since I've never been using THttpCli in one of my applications I'm
> not very familiar with HTTP as well as the THttpCli. That's why I
> wonder whether it is intented to trigger RequestDone on each
> relocation or not (so
and if you replace waitfor it with a ThreadTerminated construction, maybe
thats easier? I used waitfor only once and had deadlock issues which caused
me to removed asap :-)
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, June 22,
I do agree. I already use v6 (old beta) but had no problem with the user
messages, using the latest beta without your proposal would break my app.
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, June 20, 2006 8:12 PM
Subject: Re:
the 404 is correct, IE will also get the 404. But ebay has changed the
layout of the 404 error page to load some other pages
like //snip from 404 page// cfg.sModuleUrl
='http://promo.ebay.com/ws/eBayISAPI.dll?GetPPModules&usecase=2' ; \
so you must read the 404 page and then execute the co
From: "Francois PIETTE" <[EMAIL PROTECTED]>
> So, this is the normal behaviour :-)
> You can either ask the component to not follow the relocation, or use a
> flag
> in the OnLocationChange and OnRequestDone to handle that particular case.
>
mhhh.just tested it with v5 and you're right. Seems
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, May 06, 2006 3:39 PM
Subject: Re: [twsocket] THttpCli v6 :
FollowRelocation/httpDnsLookuptriggersrequest done
>> just use httpasy with the www.zoekhuis.nl url. Add this url twice
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
>> If FollowRelocation is set then on some sites the requestdone event is
>> triggert on a httpDnsLookup. Is this correct?
>
> At first glance not. Do you have an URL which show this behaviour and
> another which doesn't ?
>
o
If FollowRelocation is set then on some sites the requestdone event is
triggert on a httpDnsLookup. Is this correct?
I have a wm_quit on requestdone to end the messageloop but with a
httpDnsLookup that is not a good idea :-)
--
To unsubscribe or change your settings for TWSocket mailing list
The latest V6 beta needs designide.bpl. if deployed as package
>>>
>>> Do you have any idea why ?
>>>
>>
>> removing the following two lines from the package removed the dependency
>> // OverByteIcsWSocketE in 'OverByteIcsWSocketE.pas';
>
> That's normal. It is a registration unit for a custo
>> The latest V6 beta needs designide.bpl. if deployed as package
>
> Do you have any idea why ?
>
removing the following two lines from the package removed the dependency
// OverByteIcsWSocketE in 'OverByteIcsWSocketE.pas';
// OverbyteIcsNntpCli in 'OverbyteIcsNntpCli.pas';
did not check i
- Original Message -
From: "Mike Scott" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 03, 2006 11:13 AM
Subject: [twsocket] HTTPCli in dynamically-loaded BPL
> I'm wondering how to get an HttpCli to work in a dynamically-loaded BPL.
> I have made a BPL with forms that open & close OK whe
rammer do in his message pump.
>
> ---
> Rgds, Wilfried [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> http://www.mestdagh.biz
>
> Wednesday, April 5, 2006, 18:41, Fastream Technologies wrote:
>
>> WM_QUIT has the same effect as Release!
>
>> Reg
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, April 05, 2006 7:46 PM
Subject: Re: [twsocket] wm_quit in requestdone in thread
> Eh, my OE has no syntax check, why?
>
> const
>WM_MY_MESSAGE_AFTER_RQ_DONE = WM_USER + 1;
>
d of VCL in the requestdone?
>
> Regards,
>
> SZ
Isn't the release the start of a destroy? The http component is re-used
until de thread execute recieves no new items to be processed
>
> - Original Message -
> From: "Frans van Daalen" <[EMAIL PRO
I have the following code
procedure TConsumerThread.Execute;
...some code
while GetMessage(Msg, 0, 0, 0) do
begin
TranslateMessage(Msg);
DispatchMessage(Msg);
if Msg.Message = WM_REQUEST then
Begin
...some code
http.GetASync;
http.CtrlSoc
- Original Message -
From: "Jazzy Jeff" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 31, 2006 8:22 AM
Subject: [twsocket] Httpcli not working, need suggestions
I just downloaded the ICS ver 5 a few mins ago, I compiled it under BDS2006
using bcb2006 with the updated patch. I compiled t
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, March 31, 2006 11:05 AM
Subject: Re: [twsocket] Port number
> Hello Werner,
>
>> When the server listen to port 2500, and the socket port start increasing
>> from 2000. Do I get in
The latest V6 beta needs designide.bpl. if deployed as package
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To:
Sent: Sunday, March 26, 2006 9:24 PM
Subject: [twsocket] ICS-V6 Beta almost finalized
>I have uploaded a new version of ICS-V6 beta to my website.
> This
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, March 25, 2006 11:10 AM
Subject: Re: [twsocket] ICS V6 Http Post problem
> I've been able to reproduce the problem and to fix it !
> The bug is in OverbyteIcsWSockBuf.pas. In funct
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, March 24, 2006 8:05 PM
Subject: Re: [twsocket] ICS V6 Http Post problem
>>> Is it possible for you to slightly change the Http demo to do your post
>>> and if it reproduce the probl
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, March 23, 2006 8:52 AM
Subject: Re: [twsocket] ICS V6 Http Post problem
> In your application, are you calling the message pump somewhere ?
> Specially from one of the ICS
> component event handler ? This will
> Hello Frans,
>
> I never used HTTP component (only basic WSocket) but may be you could
> check if you are using HTTP 1.0 or 1.1 content data can be splitted in
> multiple blocks when using HTTP 1.1. I don't know if it will help you,
> this is a simple idea.
>
> Regards.
Dod,
as far as i unders
>
>Data := 'FirstName=' + stringofchar('A',600) + '&' +
>'LastName=' + stringofchar('B',600) + '&' +
>'NextName=' + stringofchar('C',600) + '&' +
>'Submit=Submit';
>
> This is wat the sniffer reports
>
> Content-Length: 1844
> Parameters
.
> NextName=
>> In your application, are you calling the message pump somewhere ?
>> Specially from one of the ICS
>> component event handler ? This will cause a lot of trouble with the
>> events.
>>
>> btw: The message pump is typically Application.ProcessMessages, but can
>> also be anythoing calling it
>> in
- Original Message -
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, March 23, 2006 8:52 AM
Subject: Re: [twsocket] ICS V6 Http Post problem
> In your application, are you calling the message pump somewhere ?
> Specially from one of the ICS
> comp
Already asked this in the borland newsgroup but was advised to asked it here
again.
I use v6 latest beta and if I do a asyncpost wiht some long parameters like
Para1=
¶2=b
¶3=..(about 1600 chars)
I will see something else with a sniffer
Para1=
¶2=b
¶3=..( only a
86 matches
Mail list logo