Heartbeat does not work if the connection is caught/denied by the firewall (e.g. Zonealarm). In that case there are no heartbeats and no possibility to Abort. Therefore I had to just leave the thread and make it close on its own.
Best regards, Hans Jakobsen EarMaster ApS [email protected] EarMaster.com - because in music we're all ears! -----Original Message----- From: Dibo [mailto:[email protected]] Sent: Wednesday, October 13, 2010 3:05 PM To: Ararat Synapse Subject: Re: [Synalist] Aborting HTTPMethod Thanks for the tips. However, Sock.AbortSocket doesn't work in my case (I'm using synapse in Lazarus/FreePascal on 64 bit Linux) It seems that HeartbeatRate is what I was looking, but I have one question. Is this method really safe? I mean, there is no chance for thread deadlock when I call Abort from main thread? ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
