Re: [twsocket] ICS bug ?

2007-03-22 Thread Arno Garrels
Fastream Technologies wrote:
> Arno, can you post a fixed THttpCli please?

This is my _private_ copy, not yet verified by Francois:
http://www.duodata.de/misc/delphi/OverbyteIcsHttpProt.zip


> 
> Best Regards,
> 
> SZ
> 
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Wednesday, March 21, 2007 12:46 PM
> Subject: Re: [twsocket] ICS bug ?
> 
> 
>> Paul wrote:
>>> Since I updated to the latest ICS version (V5), I sometimes get an
>>> exeption when closing my program : EOSError (code 14000) Invalid
>>> window handle. I can't trap the error, it happens after all events
>>> are handled. I've just had it again within the debugger, but it
>>> fails to step to the next instruction
>>> 
>>> Anyone else seen this ?
>> 
>> It's a known issue, we discussed already in the SSL-List.
>> 
>> This is a temporary fix:
>> 
>> in THttpCli.SocketDataAvailable
>> ..
>> // Make FReceiveBuffer at least 8KB larger than actually received
>> data Add ==>> if FReceiveLen < 0 then FReceiveLen := 0; <==
>> 
>> --
>> Arno Garrels [TeamICS]
>> http://www.overbyte.be/eng/overbyte/teamics.html
>> 
>>> 
>>> 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
-- 
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


Re: [twsocket] ICS bug ?

2007-03-22 Thread Ronny Forsberg
Arno Garrels wrote:
> Paul wrote:
>   
>> Isn't it possible to implement it in V5 also ?
>> 
>
> I haven't had a look at latest V5 download yet.
> You can monitor variable FReceiveLen and check for
> a negativ value on your own. But I think that this
> was a problem introduced with latest changes to 
> THttpCli V6 only. 

We have some reports with this error, but I haven't been able
to reproduce it. We're using TFtpClient from ICS5, May 1,2006
version (FtpCli.pas says "V2.106").


With best regards,
Ronny Forsberg
-- 
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


Re: [twsocket] ICS bug ?

2007-03-22 Thread Fastream Technologies
Arno, can you post a fixed THttpCli please?

Best Regards,

SZ

- Original Message - 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, March 21, 2007 12:46 PM
Subject: Re: [twsocket] ICS bug ?


> Paul wrote:
>> Since I updated to the latest ICS version (V5), I sometimes get an
>> exeption when closing my program : EOSError (code 14000) Invalid
>> window handle. I can't trap the error, it happens after all events
>> are handled. I've just had it again within the debugger, but it fails
>> to step to the next instruction 
>> 
>> Anyone else seen this ?
> 
> It's a known issue, we discussed already in the SSL-List.
> 
> This is a temporary fix:
> 
> in THttpCli.SocketDataAvailable
> .. 
> // Make FReceiveBuffer at least 8KB larger than actually received data
> Add ==>> if FReceiveLen < 0 then FReceiveLen := 0; <==
> 
> --
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
>> 
>> 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
-- 
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


Re: [twsocket] ICS bug ?

2007-03-22 Thread Arno Garrels
Paul wrote:
> Isn't it possible to implement it in V5 also ?

I haven't had a look at latest V5 download yet.
You can monitor variable FReceiveLen and check for
a negativ value on your own. But I think that this
was a problem introduced with latest changes to 
THttpCli V6 only.  

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

> 
> Paul
> 
> 
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Wednesday, March 21, 2007 11:49 AM
> Subject: Re: [twsocket] ICS bug ?
> 
> 
>> Arno Garrels wrote:
>>> 
>>> It's a known issue, we discussed already in the SSL-List.
>> 
>> Please forget my last message it applies to V6 only.
>> 
>> --
>> Arno Garrels [TeamICS]
-- 
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


Re: [twsocket] ICS bug ?

2007-03-21 Thread Paul
Isn't it possible to implement it in V5 also ?

Paul


- Original Message - 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, March 21, 2007 11:49 AM
Subject: Re: [twsocket] ICS bug ?


> Arno Garrels wrote:
>> 
>> It's a known issue, we discussed already in the SSL-List.
> 
> Please forget my last message it applies to V6 only.
> 
> --
> Arno Garrels [TeamICS]
>
-- 
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


Re: [twsocket] ICS bug ?

2007-03-21 Thread Arno Garrels
Paul wrote:
> in which line should this be added ?

Add it below:
"// Make FReceiveBuffer at least 8KB larger than actually received data"

> 
> Paul
> 
> 
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Wednesday, March 21, 2007 11:46 AM
> Subject: Re: [twsocket] ICS bug ?
> 
> 
>> Paul wrote:
>>> Since I updated to the latest ICS version (V5), I sometimes get an
>>> exeption when closing my program : EOSError (code 14000) Invalid
>>> window handle. I can't trap the error, it happens after all events
>>> are handled. I've just had it again within the debugger, but it
>>> fails to step to the next instruction
>>> 
>>> Anyone else seen this ?
>> 
>> It's a known issue, we discussed already in the SSL-List.
>> 
>> This is a temporary fix:
>> 
>> in THttpCli.SocketDataAvailable
>> ..
>> // Make FReceiveBuffer at least 8KB larger than actually received
>> data Add ==>> if FReceiveLen < 0 then FReceiveLen := 0; <==
>> 
>> --
>> Arno Garrels [TeamICS]
>> http://www.overbyte.be/eng/overbyte/teamics.html
>> 
>>> 
>>> 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
-- 
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


Re: [twsocket] ICS bug ?

2007-03-21 Thread Paul
Have to switch back then.

Paul


- Original Message - 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, March 21, 2007 11:49 AM
Subject: Re: [twsocket] ICS bug ?


> Arno Garrels wrote:
>> 
>> It's a known issue, we discussed already in the SSL-List.
> 
> Please forget my last message it applies to V6 only.
> 
> --
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
> 
> -- 
> 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
> 
>
-- 
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


Re: [twsocket] ICS bug ?

2007-03-21 Thread Paul
in which line should this be added ?

Paul


- Original Message - 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Wednesday, March 21, 2007 11:46 AM
Subject: Re: [twsocket] ICS bug ?


> Paul wrote:
>> Since I updated to the latest ICS version (V5), I sometimes get an
>> exeption when closing my program : EOSError (code 14000) Invalid
>> window handle. I can't trap the error, it happens after all events
>> are handled. I've just had it again within the debugger, but it fails
>> to step to the next instruction 
>> 
>> Anyone else seen this ?
> 
> It's a known issue, we discussed already in the SSL-List.
> 
> This is a temporary fix:
> 
> in THttpCli.SocketDataAvailable
> .. 
> // Make FReceiveBuffer at least 8KB larger than actually received data
> Add ==>> if FReceiveLen < 0 then FReceiveLen := 0; <==
> 
> --
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
>> 
>> 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
> 
>
-- 
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


Re: [twsocket] ICS bug ?

2007-03-21 Thread Arno Garrels
Arno Garrels wrote:
> 
> It's a known issue, we discussed already in the SSL-List.

Please forget my last message it applies to V6 only.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


-- 
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


Re: [twsocket] ICS bug ?

2007-03-21 Thread Arno Garrels
Paul wrote:
> Since I updated to the latest ICS version (V5), I sometimes get an
> exeption when closing my program : EOSError (code 14000) Invalid
> window handle. I can't trap the error, it happens after all events
> are handled. I've just had it again within the debugger, but it fails
> to step to the next instruction 
> 
> Anyone else seen this ?

It's a known issue, we discussed already in the SSL-List.

This is a temporary fix:

in THttpCli.SocketDataAvailable
.. 
// Make FReceiveBuffer at least 8KB larger than actually received data
Add ==>> if FReceiveLen < 0 then FReceiveLen := 0; <==

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

> 
> 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