Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TidHTTPServer and Orphaned Connection Threads
#5
Thanks again Remy, you're a hell of an asset to (at least) Delphi programmers online.

I've upgraded Indy, so we'll see how that goes. I may have more questions later about the impact (if any) of some Socket Errors (related to SmartServeFile) and failed SSL handshaking attempts. 

I'm also setting the XMLDoc to nil after Active := False, which I now imagine will address the leak/'orphaned' threads.

And thanks for the efficiency suggestion, the way you explained it makes total sense and I'll likely implement it once I have a handle on the core issue. I wonder if you can think of any reason why I wouldn't want to use Thread Pooling? Less reliable? More overhead in certain use-cases?
Reply


Messages In This Thread
RE: TidHTTPServer and Orphaned Connection Threads - by takyon_dg - 07-03-2019, 01:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)