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

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -