I'm running a drakma-based app that gives an error on LispWorks, but not on SBCL.
Error: End of file while reading stream #<FLEXI-STREAMS::FLEXI-BINARY-LATIN-1-IO-STREAM 200ED20F>.
This is after a POST request, and the same error never occurs with SBCL. Is there something else I should be setting when calling http-request in LW versus SBCL?
Jonathon McKitrick -- 'Java is a fine language, for low values of fine.'
On Fri, 11 Jan 2008 19:38:56 +0000, Jonathon McKitrick jcm@sdf.lonestar.org wrote:
I'm running a drakma-based app that gives an error on LispWorks, but not on SBCL.
Error: End of file while reading stream #<FLEXI-STREAMS::FLEXI-BINARY-LATIN-1-IO-STREAM 200ED20F>.
This is after a POST request, and the same error never occurs with SBCL. Is there something else I should be setting when calling http-request in LW versus SBCL?
No, not really. If SBCL and LispWorks don't behave the same, then I'd say it's a bug. Do you have a URL and a way to reproduce this?
On Fri, Jan 11, 2008 at 11:48:10PM +0100, Edi Weitz wrote: : On Fri, 11 Jan 2008 19:38:56 +0000, Jonathon McKitrick jcm@sdf.lonestar.org wrote: : : > I'm running a drakma-based app that gives an error on LispWorks, but : > not on SBCL. : > : > Error: End of file while reading stream #<FLEXI-STREAMS::FLEXI-BINARY-LATIN-1-IO-STREAM 200ED20F>. : > : > This is after a POST request, and the same error never occurs with : > SBCL. Is there something else I should be setting when calling : > http-request in LW versus SBCL? : : No, not really. If SBCL and LispWorks don't behave the same, then I'd : say it's a bug. Do you have a URL and a way to reproduce this?
Before I set up a URL that could be tested, I decided to try everything on Win32 first, since that is my deployment platform and where the error would matter most. I also added a :read-timeout value. So far, the error has not yet appeared. Not sure if it matters at this point, but the error occurs with https, no http.
Jonathon McKitrick -- 'Java is a fine language, for low values of fine.'
On Wed, 16 Jan 2008 14:13:22 +0000, Jonathon McKitrick jcm@sdf.lonestar.org wrote:
Before I set up a URL that could be tested, I decided to try everything on Win32 first, since that is my deployment platform and where the error would matter most. I also added a :read-timeout value. So far, the error has not yet appeared. Not sure if it matters at this point, but the error occurs with https, no http.
Have you looked at the other thread from a few days ago? Do you use the newest version of Drakma?
On Wed, Jan 16, 2008 at 05:56:38PM +0100, Edi Weitz wrote: : On Wed, 16 Jan 2008 14:13:22 +0000, Jonathon McKitrick jcm@sdf.lonestar.org wrote: : : > Before I set up a URL that could be tested, I decided to try : > everything on Win32 first, since that is my deployment platform and : > where the error would matter most. I also added a :read-timeout : > value. So far, the error has not yet appeared. Not sure if it : > matters at this point, but the error occurs with https, no http. : : Have you looked at the other thread from a few days ago? Do you use : the newest version of Drakma?
I've been away from the list for a week or so, but I did see it. That might actually solve the problem as well. I see the change in WRITE-TIMEOUT for SSL as well, but I only use READ-TIMEOUT, and based on the thread you mentioned, I might be able to remove that as well.
Jonathon McKitrick -- 'Java is a fine language, for low values of fine.'
On Wed, 16 Jan 2008 22:03:26 +0000, Jonathon McKitrick jcm@sdf.lonestar.org wrote:
I've been away from the list for a week or so, but I did see it. That might actually solve the problem as well. I see the change in WRITE-TIMEOUT for SSL as well, but I only use READ-TIMEOUT, and based on the thread you mentioned, I might be able to remove that as well.
If you need to remove the read timeout or if you need to do anything else to make this work on LispWorks (except for just using the latest release), I'd like to hear about it.
Thanks, Edi.