2006-09-01 06:26:51
Zero Sized Reply problem again
I've had this problem before, but then solved it: http://www.atutor.ca/view/7/5812/1.html
However I am experiencing the same when trying to make a backup of a very large course (420 mb, due to many videos all in several qualities)
IT-dept here gave me the following answer on why this is happening, and a possible solution:
[blue]
Somewhere a time out is triggered when the files takes too long time to process. Typically a timeout in Squid: it complaines about not getting any answer (zero sized reply) as the job isn't done yet, and therefora hasn't sent an answer.
A typical way to solve this is to start to send the answer before the job is done: a "drip" of progress that surpasses the time out in Squid.
A workaround is to increase the time out. The solution would be to alter the php code so to send data back to Squid before the entire operation is done
BTW: there are dedicated HTTP facilities for operations that takes a long time to finish, alternatively you can return a SGML comment <!-- --> including a whitespace or a period at given intervalls. [/blue]
(very quickly translated)
any thought or ideas on how to solve this in the Atutor code?