[plt-scheme] web-server: serving large files

From: Doug Orleans (dougo at place.org)
Date: Wed Dec 15 21:33:46 EST 2004

Greg Pettyjohn writes:
 > How long does it take?
 > Does "stalling" mean timing out?

Here's what he says:

  The first 20% transfers really fast and then it appears to go to 
  the end.
  When I open the file it has 47-48 seconds of music and that's it.  
  I tried it three different ways about 20 times with the same 
  result.  I did clear the cache, etc.

He's using MSIE 6 on WinXP SP2.

 > Is it static or dynamically generated?

Static (in htdocs).

 > What is the connection timeout? File-per-byte timeout?
 > Servlet-timeout? Servlet-connection-timeout?
 > (Sorry, all these timeouts are confusing, I don't like them
 > either.)

(initial-connection-timeout 30)

(default-servlet-timeout 300)
(password-connection-timeout 300)
(servlet-connection-timeout 86400)
(file-per-byte-connection-timeout 1/20)
(file-base-connection-timeout 30)

--dougo at place.org

Posted on the users mailing list.