search for: write_scheduled

Displaying 1 result from an estimated 1 matches for "write_scheduled".

2008 May 20
7
Problems sending large results with backgroundrb
...n the packet layer). We are using packet-0.5.1 and backgroundrb from the latest svn mirror. We have found and fixed one problem in the packet sender. This is triggered when the non-blocking send in NbioHelper::send_once cannot send the entire buffer, resulting 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 th...