#15 net.aserve.client:do-http-request fails on pages >8k

open
nobody
5
2012-09-14
2003-03-07
Anonymous
No

In Lispworks, net.aserve.client:do-http-request fails
when the page is of size >8k, apparently due to a fixed
8k buffer size in the socket code. For example, try

(net.aserve.client:do-http-
request "http://finance.yahoo.com/q?s=ief&d=v1")

The error message is:

Error: The subscript 8192 exceeds the limit 8191 for the
first dimension
of the array "ing=2 bgcolor=dcdcdc><tr><td><a href=..."

in

Call to (SUBFUNCTION DE.DATAHEAVEN.CHUNKED-
STREAM-MIXIN::POP-CHAR (SUBFUNCTION (LABELS
DE.DATAHEAVEN.CHUNKED-STREAM-MIXIN::READ-
CHUNK-HEADER) (METHOD STREAM:STREAM-FILL-
BUFFER (DE.DATAHEAVEN.CHUNKED-STREAM-
MIXIN:CHUNKED-STREAM-MIXIN))))

My email (disguised against spambots) is:

a <dash> tsal [at] mindspring {dot} com

Thanks!

Discussion