[REBOL] Re: read bug?
From: joel:neely:fedex at: 1-May-2001 7:07
Graham Chiu wrote:
> I've been trying to ascertain why my vidwiki script croaks
> with larger submissions.
>
> To make page changes it converts the page into part of the
> url which it then reads. It dies at 4109 chars.
>
Graham,
This sounds very much like the problem I described several
months ago with POST. There was apparently a buffer-size-limit
problem with reading from standard input. A single read from
stdin would get only one buffer full, which meant that longer
submissions would be broken.
I was never able to get a solution that would reliably fetch
all of the input, and was forced to rewrite the project in
Perl as a consequence. (I was building a wiki-like site to
support a software development team. As reliability/robustness
were critical factors for the application, I had no choice.)
Compared to the elegant way that REBOL abstracts out the tedious
implementation details of file i/o, http, ftp, etc. and allows
one simply to READ from a data source, the handling of cgi looks
very much like an afterthought/kludge. I'd really hope that a
future version would offer a unified scheme for reading cgi and
environment data that didn't require so much voodoo.
-jn-