large files are truncated

Bug #258378 reported by psl
2
Affects Status Importance Assigned to Milestone
webfs (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: webfs

webfs 1.21. Ubuntu 8.04.1, i386

I tried webfs to serve static files but found that many large files are truncated in the middle. I test in on local network, so I don't expect serius network problems.

How to repliace:
I have several large PDF documants in the directory, I have problem with bigger files (> 1MB or > 30MB). When I click on the link, I expect, IE explorer will display document in IE window but only a part of the document is opened. I see a progress of file download in IE status bar, I see downlaod progress is stalled after several hundred kB. This is serius issue from my point of view and I will not use webfs, I tried it to replace lighttpd.

Here is a debug output from webfsd:

fix_ug: uid=0 euid=0 / gid=0 egid=0
http server started
  ipv6 : yes
  node : jeos.test
  ipaddr: ::
  port : 80
  export: .
  user : root
  group : root
004: new request (1)
004: connect from (::ffff:2.252.213.211)
004: GET "/BARCODE" HTTP/1.1
004: 302 redirect: /BARCODE/, connection=Keep-Alive
004: tcp_cork=1
004: keepalive wait
004: tcp_cork=0
004: GET "/BARCODE/" HTTP/1.1
004: if-modified-since: "Fri, 15 Aug 2008 13:52:20 GMT"
dir: reading ./BARCODE/
uid: 1000 n= 0, name=user
gid: 1000 n= 0, name=user
004: 304, connection=Keep-Alive
004: keepalive wait
004: done (0)
004: new request (1)
004: connect from (::ffff:2.252.213.211)
004: GET "/BARCODE/marta23_2.pdf" HTTP/1.1
004: 200, connection=Keep-Alive
004: tcp_cork=1
006: new request (2)
006: connect from (::ffff:2.252.213.211)
006: GET "/BARCODE/marta23_2.pdf" HTTP/1.1
006: 3 ranges: 667928-668952 range error
006: error: 400, connection=Keep-Alive
006: tcp_cork=1
006: keepalive wait
006: tcp_cork=0
006: keepalive timeout
006: done (1)
network timeout (peer=::ffff:2.252.213.211)
004: done (0)

Revision history for this message
psl (slansky) wrote :

When I see the debug output I want to highlight that I miss a timestamps at the beginning of lines. How to find duration of requests, how to find what time was needed before timeout was reported? Default timeout is 60 seconds and I didn't toched it...

Revision history for this message
psl (slansky) wrote :

I replaced webfs with lighttpd and I see similar issue (PDF documents truncated) so I think I have probably some problem at my test client, at machine with WinXP and MS IE.

psl (slansky)
Changed in webfs (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.