search for: handle_write_ev

Displaying 2 results from an estimated 2 matches for "handle_write_ev".

Did you mean: handle_write_fd
2008 May 20
7
Problems sending large results with backgroundrb
...ulting in an exception in the line write_scheduled[fileno] ||= connections[fileno].instance in Core::schedule_write because connections[fileno] is nil. I can''t claim to fully understand the code, but I think there are two problems here. The main issue seems to be that when Core::handle_write_event calls write_and_schedule to schedule the write, it doesn''t clear out internal_scheduled_write[fileno]. It looks like the code is expecting the cancel_write call at the end of write_and_schedule to clear it out, but this doesn''t happen if there is enough queued data to cause th...
2008 Dec 26
4
''stack level too deep'' error
...sr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:51:in `each_with_index'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:51:in `write_and_schedule'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:166:in `handle_write_event'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:163:in `each'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_core.rb:163:in `handle_write_event'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/pack...