Date: Tue, 17 Jun 2003 14:28:07 +0900 (JST)
From: GOTOU Yuuzou <gotoyuzo@notwork.org>
Subject: [webricken:115] Re: can't run cgis under httpd.rb
To: webricken@notwork.org
Message-Id: <20030617.142807.766299896.gotoyuzo@kotetsu.does.notwork.org>
In-Reply-To: <20030616160151.GA6808@littlebird.tenfour>
References: <20030616160151.GA6808@littlebird.tenfour>
X-Mail-Count: 00115
Hi,
In message <20030616160151.GA6808@littlebird.tenfour>,
`Rasputin <rasputin@idoru.mine.nu>' wrote:
> httpd.rb runs fine when runnig rhtml, but the cgi example
> seems to fail.
> /usr/pkg/lib/ruby/site_ruby/1.6/webrick/httpservlet/cgi_runner.rb:23:in `restore': marshal data too short (ArgumentError)
It's a bug of WEBrick. Partial-read occurs in data passing
from server to CGI, but cgi_runner.rb doesn' t care it.
This bug is fixed in CVS version.
--
gotoyuzo