Strange... In the browser I'm downloading a file. Unfortunately the
server doesn't have the correct mime type, so mozilla is showing me the
binary data. The download takes some time, so I fire up an xterm, and
do:

http_proxy=http://localhost:8080/ wget 
http://www.dream-multimedia-tv.de/dm7000/update/rel107.img

The wget is immediately done, and results in an incomplete file.

Here's the log:

21:13:03 wurtel wwwoffled[21592]: HTTP Proxy connection from host localhost 
([0:0:0:0:0:ffff:7f00:1]).
21:13:03 wurtel wwwoffled[21592]: Forked wwwoffles -real (pid=28536).
21:13:03 wurtel wwwoffles[28536]: 
URL='http://www.dream-multimedia-tv.de/dm7000/update/rel107.img'.
21:13:03 wurtel wwwoffles[28536]: Cache Access Status='New Page'.
21:13:39 wurtel wwwoffled[21592]: HTTP Proxy connection from host localhost 
([0:0:0:0:0:ffff:7f00:1]).
21:13:39 wurtel wwwoffled[21592]: Forked wwwoffles -real (pid=28546).
21:13:39 wurtel wwwoffles[28546]: 
URL='http://www.dream-multimedia-tv.de/dm7000/update/rel107.img'.
21:13:39 wurtel wwwoffles[28546]: Cache Access Status='Cached Page Used'.
21:13:39 wurtel wwwoffled[21592]: Child wwwoffles exited with status 0 (pid=28546).
21:14:55 wurtel wwwoffled[21592]: Child wwwoffles exited with status 0 (pid=28536).

As you can see, while the first wwwoffles was stil busy, the second sees
the incomplete page, and uses that, assuming that it's complete...
I thought I had done this sort of thing before, and that resulted in
both clients getting the data simultaneously...

Version 2.8a.


Paul Slootman

Reply via email to