Just a side Question, what about THttpClient on C# is that Thread Safe? Or how would one use that ? Open a new THttpClient for every Request?
Beste Grüße / Best Regards Christian Schmitt Entwickler / Developer > Am 07.06.2016 um 17:57 schrieb BCG <[email protected]>: > > > > On 06/07/2016 10:45 AM, Tuan Le Dinh wrote: >> >> Dear Matt Chambers, by mentioning "to use ThreadLocal connections", did you >> mean use it for TTransport or TProtocol or both? >> >> > Both TTransport and TProtocol are stateful objects that are not thread safe. > You should not be sharing them across client instances. You must create new > ones on each Thread, or use some method like ThreadLocal or pooling as others > have suggested. >
smime.p7s
Description: S/MIME cryptographic signature
