[#3419] Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...>

Hello list,

19 messages 2004/09/17
[#3422] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3423] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:01, ts wrote:

[#3424] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3425] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:37, ts wrote:

[#3426] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3428] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 13:05, ts wrote:

[#3429] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

Re: fastcgi & continuations (Re: Idea: Webshare)

From: Patrick May <patrick@...>
Date: 2004-09-29 02:05:39 UTC
List: ruby-core #3471
On Friday, September 10, 2004, at 04:58  AM, Brian Candler wrote:

> That code is a nasty frig though, when you could just replace
>
>   cgi = CGI::Fast.new
>
> with
>
>   FCGI.each_cgi do |cgi|
>     ...
>   end
>
> Furthermore, the code then runs transparently in three different ways: 
> as a
> regular CGI, as a FastCGI, or from the command-line (enter name=value 
> pairs)

i want to replace:

   #!/usr/bin/ruby
   require 'fcgi'
   FCGI.each_cgi do |cgi|
     cgi.out do
       "Hello, World"
     end
   end

with:

   #!/usr/bin/ruby
   require 'web'
   puts "Hello, World"

The continuation trick makes this possible.

Cheers,

Patrick


In This Thread

Prev Next