Method: Hayabusa::Fcgi#initialize

Defined in:
lib/hayabusa_fcgi.rb

#initializeFcgi

Returns a new instance of Fcgi.



5
6
7
8
9
10
11
12
13
14
# File 'lib/hayabusa_fcgi.rb', line 5

def initialize
  #Spawn CGI-variable to emulate FCGI part.
  @cgi_tools = Hayabusa::Cgi_tools.new
  
  #We cant define the Hayabusa-server untuil we receive the first headers, so wait for the first request.
  @hayabusa = nil
  @hayabusa_fcgi_conf_path = nil
  @fcgi_proxy = nil
  @debug = false
end