Hi Oleg,

Per default one has to assume HttpCore classes are _NOT_ threading-safe.
There are three exceptions to this rule I can think of on the top of my
head:


<snip/>

Concurrent access to all other classes from multiple threads _MUST_ be
synchronized.


Ok, I thought I might get away with a couple of classes being reused between
threads, but that seems not to be the case.

I do not want to over-synchronize HttpCore low level classes mainly for
performance reasons.


Which is IMO the correct thing to do.

<snip/>

PS: some short javadoc notice as to what the legal uses are in a
> multithreaded environment wouldn't hurt. Maybe if somebody stumbles the
next
> time across one of those particular classes...
>

I am aware I have to document all this stuff. It is on my (rather
lengthy) TODO list.


Yeah, I didn't want to nitpick, I'm aware that there's still much to do and
not many to do it. The work is still fantastic.

Cheers,
Daniel

Reply via email to