2010/2/9 Matthew Mulrooney <openbsd-2010.01...@matthew.mulrooney.ca>

>
>  I'm using OpenBSD since 4.4 and today I noticed that httpd server doesn''t
>> support resuming while a file is downloading.
>>
>
> The in-tree Apache (Apache 1.3.29 + improvements) doesn't support the range
> header (so you can't resume a previous download);  as far as I know, it
> never has.
>
> If you need resume support, install the Apache httpd 2.2.11 package.
>
> Matthew
>
>
>
>
Today I tried this: I installed OpenBSD 4.4 and OpenBSD 4.5 and after that I
ran the same test as yesterday.
The results:

#################################################################################
Downloading from OpenBSD 4.4

[time]/root# wget -O ./xx http://192.168.1.10/pf
--19:58:39--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,242,880 [text/plain]

17%
[=============>
] 921,302        2.12M/s    ETA 00:01^                               C
[time]/root# wget -c -O ./xx http://192.168.1.10/pf
--19:58:52--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 5,242,880 (3,944,746 to go) [text/plain]

69%
[========================================================>
] 3,652,977      2.22M/s    ETA 00:00^                               C
[time]/root# wget -c -O ./xx http://192.168.1.10/pf
--19:59:02--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 5,242,880 (1,147,535 to go) [text/plain]

100%[==================================================================================>]
5,242,880      2.26M/s    ETA 00:00

19:59:02 (2.26 MB/s) - `./xx' saved [5242880/5242880]


#############################################################################################
Downloading from OpenBSD 4.5

[time]/root# wget -O ./xx http://192.168.1.10/pf
--20:26:44--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20,971,520 [text/plain]

17%
[==================>
] 3,624,661      2.14M/s    ETA 00:07^C
[time]/root# wget -c -O ./xx http://192.168.1.10/pf
--20:26:51--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 20,971,520 (16,945,451 to go) [text/plain]

47%
[=====================================================>
] 9,952,621      2.28M/s    ETA 00:04^C
[time]/root# wget -c -O ./xx http://192.168.1.10/pf
--20:26:56--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 20,971,520 (10,576,531 to go) [text/plain]

80%
[==========================================================================================>
] 16,878,596     2.17M/s    ETA 00:01^C
[time]/root# wget -c -O ./xx http://192.168.1.10/pf
--20:27:02--  http://192.168.1.10/pf
           => `./xx'
Connecting to 192.168.1.10:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 20,971,520 (3,929,084 to go) [text/plain]

100%[=================================================================================================================>]
20,971,520     2.30M/s    ETA 00:00

20:27:03 (2.30 MB/s) - `./xx' saved [20971520/20971520]

As you can see Apache supports resume in both OBSD 4.4 and OBSD 4.5.
Why it isn't like this in OBSD 4.6?

Atanas

Reply via email to