> Turn off range requests by disabling the following test in
> nsd/fastpath.c:FastReturn()

Thanks for this one. I already removed the line in nsd/return.c which helped 
me with this problem: Visitors trying to download a PDF (intended to be 
opened by Acrobat Reader) with a Firefox browser (and only! with this one) 
had problems to do so. Firefox stops after the first request (or after the 
response of the server), as it seems.

I reproduced the behaviour on my local machine with a HTML file containing 
just a link to a PDF. I'll have to test it with a more pristine environment 
this week, but maybe you can see a similar effect?

Snippet (some headers removed):

====Client Request:
GET /TEST/edition.pdf HTTP/1.1

====Server Response:
Accept-Ranges: bytes
Date: on, 27 Nov 2006 13:35:12 GT
Server: NaviServer/4.99.2
Content-Type: application/pdf
Content-Length: 38644641
Connection: close

====Client Request:
GET /TEST/edition.pdf HTTP/1.1
Keep-Alive: 300
Connection: keep-alive
Range: bytes=38643617-38644640,38439841-38643616,65536-38439840

====Server Response:
HTTP/1.x 206 Partial Content
Last-Modified: Fri, 24 Nov 2006 09:17:57 GT
Content-Range: bytes 65536-38644640/38644641
Accept-Ranges: bytes
Date: on, 27 Nov 2006 13:35:12 GT
Server: NaviServer/4.99.2
Content-Type: application/pdf
Content-Length: 38579105
Connection: close

Reply via email to