I am having trouble with Clozure CL. I am not sure this is the right mailing list as it
seems to be a CCL problem (unexpected end-of-file). This same request works with LW 5.0.1
and SBCL 1.0.15 on the same machine. CCL also works with other urls like "https://bmo.com".
The failing url is being served by an apache web server. I have noticed similiar problems have
been posted to this mailing list. (setting chunga:*accept-bogus-eols* does not help).
CL-USER> (lisp-implementation-version)
"Version 1.2-r9226-RC1 (LinuxX8664)"
CL-USER>
CL-USER> (drakma:http-request "https://esqa.moneris.com")
Unexpected end of file on #<SSL-STREAM for 4>
[Condition of type END-OF-FILE]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [ABORT-BREAK] Reset this process
2: [ABORT] Kill this process
Backtrace:
0: (READ-BYTE #<SSL-STREAM for 4> 'T 'NIL)
1: (#<CCL::STANDARD-KERNEL-METHOD STREAM-READ-VECTOR (CCL::BINARY-INPUT-STREAM
T
T
T)> #<SSL-STREAM for 4> #(60 72 84 77 76 62 10 60 72 69 ...) 0 2355)
2: (READ-SEQUENCE #(60 72 84 77 76 62 10 60 72 69 ...) #<SSL-STREAM for 4> ':START 0 ':END 2355)
3: (READ-SEQUENCE #(60 72 84 77 76 62 10 60 72 69 ...) #<CHUNGA:CHUNKED-IO-STREAM #x30004141A8FD> ':START 0 ':END 2355)
4: ((:INTERNAL FLEXI-STREAMS::FILL-BUFFER
(TRIVIAL-GRAY-STREAMS:STREAM-READ-SEQUENCE
(FLEXI-STREAMS:FLEXI-INPUT-STREAM T T T))) 2355)
5: (#<STANDARD-METHOD TRIVIAL-GRAY-STREAMS:STREAM-READ-SEQUENCE (FLEXI-STREAMS:FLEXI-INPUT-STREAM
T
T
T)> #<FLEXI-STREAMS:FLEXI-IO-STREAM #x30004129C14D>
6: (CCL::%%STANDARD-COMBINED-METHOD-DCODE '((#<STANDARD-METHOD TRIVIAL-GRAY-STREAMS:STREAM-READ-SEQUENCE :BEFORE (FLEXI-STREAMS:FLEXI-IO-STREAM
T
T
T)>)
NIL
#<STANDARD-METHOD TRIVIAL-GRAY-STREAMS:STREAM-READ-SEQUENCE (FLEXI-STREAMS:FLEXI-INPUT-STREAM
T
T
T)>) 17575205018776)
7: (READ-SEQUENCE <edited>
8: (DRAKMA::READ-BODY #<FLEXI-STREAMS:FLEXI-IO-STREAM #x30004129C14D> '((:DATE . "Tue, 10 Jun 2008 04:15:25 GMT") (:SERVER . "Apache")
(:LAST-MODIFIED . "Thu, 08 Nov 2007 15:41:34 GMT")
(:ETAG . "\"42951-931-b3656780\"") (:ACCEPT-RANGES . "bytes")
(:CONTENT-LENGTH . "2353") (:CONNECTION . "close")
(:CONTENT-TYPE . "text/html; charset=UTF-8")) 'T #<FLEXI-UTF-8-FORMAT (:UTF-8 :EOL-STYLE :LF) #x30004129BCCD>)
9: ((:INTERNAL DRAKMA::FINISH-REQUEST DRAKMA:HTTP-REQUEST) 'NIL 'NIL)
10: (DRAKMA:HTTP-REQUEST #<URI https://esqa.moneris.com>)
11: (CCL::CALL-CHECK-REGS 'DRAKMA:HTTP-REQUEST "https://esqa.moneris.com")
12: (CCL::RUN-PROCESS-INITIAL-FORM #<PROCESS worker(7) [Active] #x30004130E5FD> '(#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x30004130E48F>))
13: ((:INTERNAL CCL::%PROCESS-PRESET-INTERNAL) #<PROCESS worker(7) [Active] #x30004130E5FD> '(#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x30004130E48F>))
14: ((:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION))