Sha256: 9faa6122884fa16df198d1c61df9813029dcf8091d2e25e8b4c82581cb3adf30
Contents?: true
Size: 637 Bytes
Versions: 4
Compression:
Stored size: 637 Bytes
Contents
require 'cgi' require 'fcgi' require 'nitro/context' require 'nitro/dispatcher' require 'nitro/cgi' require 'glue/flexob' # Speeds things up, more comaptible with OSX. Socket.do_not_reverse_lookup = true module Nitro # FastCGI Adaptor. FastCGI is a language independent, # scalable, open extension to CGI that provides high # performance without the limitations of server # specific APIs. # # No need for connection pooling, fastcgi uses processes. class FastCGI def self.start(server) FCGI.each do |cgi| begin Cgi.process(server, cgi, cgi.in, cgi.out) cgi.finish end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.24.0 | lib/nitro/adapter/fastcgi.rb |
nitro-0.25.0 | lib/nitro/adapter/fastcgi.rb |
nitro-0.26.0 | lib/nitro/adapter/fastcgi.rb |
nitro-0.27.0 | lib/nitro/adapter/fastcgi.rb |