Re: [twsocket] Exception in THttpCli when server responds with Status = 0

2016-02-13 Thread Doug Billi
Thanks Angus, Doug -Original Message- From: Angus Robertson - Magenta Systems Ltd [mailto:an...@magsys.co.uk] Sent: Saturday, February 13, 2016 1:27 AM To: twsocket@lists.elists.org Subject: Re: [twsocket] Exception in THttpCli when server responds with Status = 0 > I was getting a res

[twsocket] Exception in THttpCli when server responds with Status = 0

2016-02-12 Thread Doug Billi
I was getting a response from an HTTP Server where the Status was set to 0 (instead of 1xx-5xx). This was causing an exception in my application. Although this is an error on the server side, shouldn't the code be changed from: procedure THttpCli.GetHeaderLineNext; [...] FStatusCode := St

Re: [twsocket] 64-bit Bug in OverbyteIcsWndControl

2016-01-25 Thread Doug Billi
Thanks! Doug -Original Message- From: Angus Robertson - Magenta Systems Ltd [mailto:an...@magsys.co.uk] Sent: Monday, January 25, 2016 2:56 AM To: twsocket@lists.elists.org Subject: Re: [twsocket] 64-bit Bug in OverbyteIcsWndControl > I'm using the THttpServer component in Delphi XE2 U

[twsocket] 64-bit Bug in OverbyteIcsWndControl

2016-01-21 Thread Doug Billi
This is from the latest snapshot of ICS V8. procedure TIcsTimer.UpdateTimer; begin KillTimer(FIcsWndControl.Handle, UINT_PTR(Self)); if (FInterval <> 0) and FEnabled and Assigned(FOnTimer) then if SetTimer(FIcsWndControl.Handle, Cardinal(Self), FInterval, nil) =

[twsocket] Which SSL Options are recommended?

2015-04-09 Thread Doug Billi
(I'm using the latest Open SSL version 1.0.2a). Thanks, Doug From: Doug Billi Sent: Wednesday, July 30, 2014 10:33 AM To: 'twsocket@lists.elists.org' Subject: Handle Leak I'm using the Version 8 'Gold' build of the ICS components with Delphi XE2 and I'm seei

Re: [twsocket] Handle Leak

2014-08-18 Thread Doug Billi
ubject: Re: [twsocket] Handle Leak On 15-08-2014 05:44, Doug Billi wrote: > I've seen the problem in both client and server, but these stats are just for > the server. I already asked this before. Do you have these "Token" type handles showing just after the server sta

Re: [twsocket] Handle Leak

2014-08-14 Thread Doug Billi
seen the problem in both client and server, but these stats are just for the server. http://ge.tt/5w9Sy1r1 Thanks, Doug -Original Message- From: RTT [mailto:p...@sapo.pt] Sent: Wednesday, August 13, 2014 10:48 AM To: ICS support mailing Subject: Re: [twsocket] Handle Leak On 13-08-20

Re: [twsocket] Handle Leak

2014-08-14 Thread Doug Billi
I've described the environment here (near the bottom of the post): http://stackoverflow.com/questions/25124613/what-can-cause-a-security-context-token-handle-leak > There is a rare handle problem in ICS: I haven't seen that error, but for my purposes, having to restart the service once a month

Re: [twsocket] Handle Leak

2014-08-13 Thread Doug Billi
: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of RTT Sent: 12 August 2014 07:43 PM To: ICS support mailing Subject: Re: [twsocket] Handle Leak On 12-08-2014 16:33, Doug Billi wrote: > There are no memory leaks, and no other handle leaks, other than > security-context tokens.

Re: [twsocket] Handle Leak

2014-08-13 Thread Doug Billi
> So you have handles leaking in two separate ICS applications, one using HTTP > client, one using HTTP server? Correct. Thanks, Doug -Original Message- From: Angus Robertson - Magenta Systems Ltd [mailto:an...@magsys.co.uk] Sent: Tuesday, August 12, 2014 10:02 AM To: twsocket@lists.el

Re: [twsocket] Handle Leak

2014-08-13 Thread Doug Billi
al Message- From: RTT [mailto:p...@sapo.pt] Sent: Tuesday, August 12, 2014 10:43 AM To: ICS support mailing Subject: Re: [twsocket] Handle Leak On 12-08-2014 16:33, Doug Billi wrote: > There are no memory leaks, and no other handle leaks, other than > security-context tokens. Testing he

Re: [twsocket] Handle Leak

2014-08-12 Thread Doug Billi
Further to this, here is the sample code: http://ge.tt/5w9Sy1r1/v/0 Doug -Original Message- > I run several ICS applications for up to a month at time on multiple PCs and > servers, often > only restarting for Windows Updates, and I've not seen any > handle or memory leaks. There a

Re: [twsocket] Handle Leak

2014-08-12 Thread Doug Billi
> I run several ICS applications for up to a month at time on multiple PCs and > servers, often > only restarting for Windows Updates, and I've not seen any > handle or memory leaks. There are no memory leaks, and no other handle leaks, other than security-context tokens. > There is a major

Re: [twsocket] Handle Leak

2014-08-11 Thread Doug Billi
Angus, Sorry for the delayed response. I ended up creating two stripped down sample applications to recreate the issue. We thought that it was machine related, because I could reproduce the growing handle issue with these apps within 5-10 minutes, whereas another 2 developers could not. Howe

[twsocket] Handle Leak

2014-07-30 Thread Doug Billi
I'm using the Version 8 'Gold' build of the ICS components with Delphi XE2 and I'm seeing some strange handle leaks. Note that I'm not using SSL. I've run the application for 48 hours, and have confirmed there are absolutely no memory leaks (memory usage is stable), but the working set keeps gr