[Bese-devel] Re: File upload with mod-lisp

Marco Baringer mb at bese.it
Tue Feb 7 10:23:48 UTC 2006


Aycan iRiCAN wrote:
> I'm having this error when I try to upload a file.
> 
> 2006-02-05T18:29.16 +ERROR+ UCW.BACKEND: Worker thread #<HTTPD-WORKER {9487459}> reported #<SB-INT:STREAM-DECODING-ERROR {96B3509}>.
> 
> This happens when read-request in mod-lisp.lisp tries to read-sequence
> From network-stream.
> 
> (awhen (get-header request "Content-Length")
>        (let ((content-length (parse-integer it :junk-allowed t)))
> 	 (when content-length
> 	   (setf raw-body (make-array content-length :element-type 'character))
> 	   (read-sequence raw-body network-stream))))
> 
> Is there an unpublished fix for this problem?

try the ucw_binary_http branch:

http://common-lisp.net/project/ucw/repos/ucw_binary_http

(this will become ucw_dev very soon)

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the bese-devel mailing list