Interesting - I didn't transfer such large data from MozRepl, but it seems that there is a size limit either in Net::Telnet or in MozRepl::Client, neither of which are much under my control. I'll test with your URL and see if I can reproduce the error and then what I can do about it.
Update: Ah hah - the maxbufsize => 1_048_576, parameter in Net::Telnet seems to be a likely culprit. You can set that one through the extra_client_args arg in MozRepl:
extra_client_args => { maxbufsize => 10_485_760, }
Currently, there is no convenient way to set that from WWW::Mechanize::Firefox, so I suggest you create the object bridge and then reach deep down into Net::Telnet to reconfigure it:
my $net_telnet = $mech->repl->repl->client; $net_telnet->max_buffer_length(10_485_760);
As I'm thinking about moving away from MozRepl if the "custom interactors" feature proves stable enough, this approach is of limited duration.
In reply to Re^9: Screencapture with Perl on Linux
by Corion
in thread Screencapture with Perl on Linux (SOLVED)
by sadarax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |