[hunchentoot-devel] Bug (+ fix) in (maybe-handle-range-header ...)
PL Hayes
plh at golux.podzone.net
Fri Jan 18 12:00:20 UTC 2013
Hi,
I've found that <audio> elements won't play (except in Firefox, for some
reason) when served by Hunchentoot and that it's because of a small
error in the function 'maybe-handle-range-header' in the file 'misc.lisp':
(setf (return-code*) +http-partial-content+
bytes-to-send (- end start) ...
should be:
(setf (return-code*) +http-partial-content+
bytes-to-send (1+ (- end start)) ...
Cheers,
Paul.
PS. While investigating this I also noticed that my version of
Hunchentoot is 1.2.7 but it's reported as 1.2.5 in the http headers it
sends.
More information about the Tbnl-devel
mailing list