Index: [Article Count Order] [Thread]

Date: Wed, 18 Jun 2003 22:06:21 +0100
From: Rasputin <rasputin@idoru.mine.nu>
Subject: [webricken:116] Re: can't run cgis under httpd.rb
To: webricken@notwork.org
Message-Id: <20030618210621.GA18717@littlebird.tenfour>
In-Reply-To: <20030617.142807.766299896.gotoyuzo@kotetsu.does.notwork.org>
References: <20030616160151.GA6808@littlebird.tenfour> <20030617.142807.766299896.gotoyuzo@kotetsu.does.notwork.org>
X-Mail-Count: 00116

* GOTOU Yuuzou <gotoyuzo@notwork.org> [0629 06:29]:
> 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.

Thanks, that seems to work - but the CVS version needs 1.8
(for stringio). I only have 1.6 ...

Is there a workaround for 1.6 , or is it not worth it now 1.8 is
almost released?

-- 
Rasputin :: Jack of All Trades - Master of Nuns