java - Stream multiple files over HttpUrlConnection -
my application need transfer multiple files http server (by opening outputstream httpurlconnection) avoid overhead of connection establishment use 1 connection only. feasible?
note: data created in real time cannot add them 1 archive file , transfer 1 shot.
thanks advices!
you're over-optimizing. httpurlconnection
tcp connection pooling behind scenes. use new url,
httpurlconnection
, outputstream
, etc., per file.
Comments
Post a Comment