Hello Wilfried,
I am using noforms and multithreaded and for some reason the messagepump is
never called! Can we assume this as normal since I am using async methods
only?
Regards,
SZ
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Se
Scrive Fastream Technologies <[EMAIL PROTECTED]>:
> - Original Message -
> From: "Maurizio Lotauro" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Sunday, January 29, 2006 5:53 PM
> Subject: Re: [twsocket] Need help with RFC2617 and IE bug
[...]
> > I don't follow you, it seem
Scrive Fastream Technologies <[EMAIL PROTECTED]>:
> - Original Message -
> From: "Maurizio Lotauro" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Sunday, January 29, 2006 5:53 PM
> Subject: Re: [twsocket] Need help with RFC2617 and IE bug
>
>
> > Scrive Fastream Technologies
Hello Fastream,
OK, I was just brainstorming of course :) Yes GetMessage is OK.
Can you not pauze the IDE to see where it is looping ? 100% CPU could be
a loop somewhere. You probably comes into a CPU window, but stepping
trough it you should come back on some C or Delphi code.
---
Rgds, Wilfrie
Hello Wilfried,
I do not think that's the problem. The code is:
void __fastcall httpClient::MessagePump(TObject *Sender)
{
httpServerClient->affinityThread->messagePump();
}
//---
and it calls a GetMessage() based lo
Hello Fastream,
> FCtrlSocket->OnMessagePump = MessagePump;
This was in fact the answer to my question. But what do you have written
in MessagePump ? If it is the MessagePump method from TWSocket you are
in an endless loop because MessagePump will call OnMessagePump if it is
assigned.
--
> What are the differences between those versions concerning HttpCl i ?
Wrong mailing list.
Answered in ICS-SSL mailing list.
--
[EMAIL PROTECTED]
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocke
I use Send(FDocBuf, len); similar to SendStream()!
Regards,
SZ
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 6:45 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> Hello Fastream,
>
I use this approach:
__fastcall httpClient::httpClient(TComponent *AOwner) : THttpCli(AOwner)
{
...
FCtrlSocket->OnMessagePump = MessagePump;
FCtrlSocket->ComponentOptions << wsoNoReceiveLoop;
}
//---
Hello Fastream,
> pump data to client connection
How do you pump ? Maybe that's the reason of 100% CPU ?
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Sunday, January 29, 2006, 16:37, Fastream Technologies wrote:
> I stopped the timer and
- Original Message -
From: "Maurizio Lotauro" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 5:53 PM
Subject: Re: [twsocket] Need help with RFC2617 and IE bug
> Scrive Fastream Technologies <[EMAIL PROTECTED]>:
>
>> - Original Message -
>> From: "M
Scrive Fastream Technologies <[EMAIL PROTECTED]>:
> - Original Message -
> From: "Maurizio Lotauro" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Sunday, January 29, 2006 2:06 AM
> Subject: Re: [twsocket] Need help with RFC2617 and IE bug
>
>
> > Scrive Fastream Technologies
I stopped the timer and it still uses 100%CPU!!! I wonder if this is a
leftover bug from old betas. The algorithm is this:
Create a THttpCli in THttpConnection context. Then make them both
multithreaded and in the same worker thread. In ondocdata of httpclient,
pump data to client connection. C
What are the differences between those versions concerning HttpCl i ?
Paul
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
The problem I see is 100 mS.
Just for fun, try with 2000 mS and evaluate the mean bandwidth on a 10 sec
period.
When it works, you may lower the numbers.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support ma
I seem to recall a similar thing happening for my throttledwsocket. I think
I fixed it by setting the option NoReceiveLoop (not sure of the name, but
you know what I mean). Maybe your problem is related, worth a try.
Dan
- Original Message -
From: "Fastream Technologies" <[EMAIL PROT
Hello,
Perhaps we should think at the algorithm level. Here it is for your eyes
only: ;)
I want to throttle bandwidth of my reverse proxy which uses THttpConnection
and inside it an associated THttpCli.
Bandwidth and consumed bandwidth is per domain and protected by critical
sections.
There i
>> Not really. Each time I see a TTimer triggered every 100 mSec (or any
>> very
>> short time period), I know this will cause CPU problem. And bandwidth
>> limitation defenitely doesn't require a so short period of time. What is
>> useful, regarding bandwidth limitation - is to have bandwidth lim
Paul wrote:
> - Original Message -
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
>> Not really. Each time I see a TTimer triggered every 100 mSec (or any
>> very short time period), I know this will cause CPU problem. And
>> bandwidth limitation defenitely doesn't require a so short period
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
> Not really. Each time I see a TTimer triggered every 100 mSec (or any very
> short time period), I know this will cause CPU problem. And bandwidth
> limitation defenitely doesn't require a so short period of time. What is
>
> did you look at my code below?
Not really. Each time I see a TTimer triggered every 100 mSec (or any very
short time period), I know this will cause CPU problem. And bandwidth
limitation defenitely doesn't require a so short period of time. What is
useful, regarding bandwidth limitation - is
- Original Message -
From: "Maurizio Lotauro" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 2:06 AM
Subject: Re: [twsocket] Need help with RFC2617 and IE bug
> Scrive Fastream Technologies <[EMAIL PROTECTED]>:
>
>> At the moment there is a problem with Jav
But it does not work that way! Maybe my logic is a bit different, did you
look at my code below?
Regards,
SZ
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 10:50 AM
Subject: Re: [twsocket] THttpConnection throt
100 mSec is way too short. Use 2000 mSec or more.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 8:41 AM
Subject: [twsocket] THttpConnection throttling problem wit
24 matches
Mail list logo