Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1888

Q: TNetHTTPRequest thread safe?

$
0
0

Using Delphi DX10 with FMX (Android/iOS).

I have one TNetHttpClient component in a datamodule. Now I fire several threads (TThread) each with their own TNetHTTPRequest component (connected to this one TNetHttpClient component) to download a file.

Should this be thread safe. It appears that if I fire only one thread, the download succeed, but if I fire more threads simultaniously, only the first thread succeed and the other fail.


Viewing all articles
Browse latest Browse all 1888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>