search for: handle_client

Displaying 10 results from an estimated 10 matches for "handle_client".

Did you mean: _handle_client
2008 May 29
7
how to write spec for infinite loop?
Hi, I''ve got trouble when describe infinite loop. code snippet: def start_loop while true data = self.server.handle_client if data self.manager.dispatch(data) end end end without the loop, it is easy to test the logic. but how can I describe it to tell the developer ( me :-) ) that there should be an infinite loop inside. thanks. Regards, Peng Zuo
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
...: in the scgi.log file, there are also some lines like this: -- [ERR][24189] Handling client: cannot convert nil into String [ERR][24189] /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:244:in `<<'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:244:in `handle_client'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `new'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `handle_client'' /usr/local/lib/ru...
2006 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
...le the application fails on the first request. We are using Lighttpd 1.4.11, scgi 0.4.3. The error we get is the following, any ideas: [ERR][17968] /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:244:in `<<'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:244:in `handle_client'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `handle_client'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in `listen'' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:186:in `listen'' /usr/lib/ruby/gems/1.8/gems/scgi_rai...
2006 Mar 07
0
production.log says status 200, browser says 500?
...1:in `synchronize'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `process_request'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:291:in `read_header'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:253:in `handle_client'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `initialize'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `new'' d:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `handle_client'' d:/...
2007 Jan 09
0
Production Mode with SCGI
...d.rb:135:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `process_request'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:291:in `read_header'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:253:in `handle_client'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `initialize'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `new'' c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `handle_client'' c:/ruby/li...
2006 Aug 02
0
Errno::ENXIO (Device not configured) when using net/https from rails
...in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:21:in `process_request'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:291:in `read_header'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:253:in `handle_client'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in `handle_client'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in `listen'' /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:186:in `listen'' /usr/l...
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t been able to find an answer to. Do I need to have either scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to work? If yes, why? I have installed the scgi server and i can get the service to run, i have also installed the following mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2005 Oct 17
12
SCGI Rails Runner 0.4.1 (getting closer)
Hi All, Alright, this release is getting closer. It''s nearly complete except the docs on my site aren''t written yet. There is however a full README with RDoc documentation and several packages including a gem release. Please check out the latest release at: * Announcement: http://www.zedshaw.com/ * README and RDoc:
2010 Jun 07
0
No subject
...H 22/31] Fix Shoutcast, Move it to a one-pass process > > [tweaks] > =A0[PATCH 23/31] connection: duration should be bigger > =A0[PATCH 24/31] connection: reorder logic in connection_setup_sockets > =A0[PATCH 25/31] client_send_400, print 400 message > =A0[PATCH 26/31] Connection: handle_client returns err to client (via cli= ent_send_400) > =A0[PATCH 27/31] connection: more coments for remy > =A0[PATCH 28/31] Big Comments cleanup > =A0[PATCH 29/31] connection: client_setup, send 403 when we can for error > =A0[PATCH 30/31] connection: _close set everything to NULL on the way...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
...d Client in connection_queue_t [PATCH 22/31] Fix Shoutcast, Move it to a one-pass process [tweaks] [PATCH 23/31] connection: duration should be bigger [PATCH 24/31] connection: reorder logic in connection_setup_sockets [PATCH 25/31] client_send_400, print 400 message [PATCH 26/31] Connection: handle_client returns err to client (via client_send_400) [PATCH 27/31] connection: more coments for remy [PATCH 28/31] Big Comments cleanup [PATCH 29/31] connection: client_setup, send 403 when we can for error [PATCH 30/31] connection: _close set everything to NULL on the way out [this might be a bug] [P...