Downloading file using one http connection

Sujoy Dhar

Well-Known Member
Jul 24, 2016
65
9
8
India
cPanel Access Level
Root Administrator
Twitter
Hi,

My server is running on Litespeed and Apache is turned off fully.

Whenever I am downloading a file it is serving only one connection instead of several connections.
Also there is no resume of the file download.

Please help me !
 

LucasRolff

Well-Known Member
Community Guide Contributor
May 27, 2013
143
90
78
cPanel Access Level
Root Administrator
> Whenever I am downloading a file it is serving only one connection instead of several connections.

If you download a file, it will always only use 1 connection, both under Apache and LiteSpeed, unless you decide to split up the request by performing range requests and making multiple threads download specific chunks and then combine it again afterwards.

> Also there is no resume of the file download.

That's the job of the client to allow this - as long as the server provides range requests, the client can figure out how much it has downloaded, and then restart the download from the point on using a range request.