Also, I use a TMemoryStream with some objects. Is that an issue? Is it
thread safe to have multiple HttpClip objects using multiple TMemoryStreams
at the same time?

No it's not thread safe. It just reads the stream without any kind of
critical section or locking mechanism.

It is safe to have each HttpCli using his own TMemoryStream and have a lot of HttpCli running concurrently. It is unsafe to have the same TMemoryStream used by several HttpCli components unless you know exactly what you are doing. I would not recommand it.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to