search for: metapimp

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

Did you mean: meta_pimp
2008 May 20
7
Problems sending large results with backgroundrb
...twork socket, but I couldn''t be sure. We changed the second if test in Core::schedule_write to elsif write_scheduled[fileno].nil? && !connections[fileno].nil? to firewall against this, but we are not sure if this is the right fix. We are now hitting problems in the Packet::MetaPimp module receiving the data, usually an exception in the Marshal.load call in MetaPimp::receive_data. We suspect this is caused by the packet code corrupting the data somewhere, probably because we are sending such large arrays of results (the repro I am working on at the moment is trying to marshal...
2008 Jun 10
3
Backgroundrb fixes for transfering large amounts of data
...inued testing our application with backgroundrb and found a couple of other problems when transfering large amounts of data. Both of these problems are still present in the github version of code. The first problem is an exception in the Marshal.load call in the receive_data method in the Packet::MetaPimp class. The root cause is in the BinParser module, in the arm of code handling the parser state 1 (reading in the data). The issue is that, at the marked line of code the pack_data array will be at most @numeric_length entries because of the format string passed to the unpack call. This results i...