TIdHTTP in multi-threaded environment

Giganews Newsgroups
Subject: TIdHTTP in multi-threaded environment
Posted by:  Eric Peckham (accusolve@spamcop.net)
Date: Thu, 24 Jul 2003

I am doing some background work using TIdHTTP in a separate thread, but I
notice that the TIdHTTP component blocks the main application thread when
it is connecting and retrieving data.  This defeats the whole purpose of
running it in a separate thread.  Is there a way to get this to work the
way I need it?  I'm currently inheriting from TThread.  Do I need to use a
TIdThreadComponent instead?

Any help would be very much appreciated.

--
Eric Peckham

Replies