Prevent Perl's deep recursion warnings

Words
67
Reading
1 min
Listen
Play
9y

Issue description

The repository perl-Gearman contains Perl implementation of (gearman](http://gearman.org/) worker and client, which is also available in CPAN.

In previous version for very large responses (> 100 MB) to Gearman::Client->do_task(), putted the warnings
Deep recursion on subroutine "Gearman::Util::_read_sock" at /path/to/Gearman/Util.pm line 224.

Link to the issue report.

Solution

To fix the issue Perl's no warnings "recursion" pragma was added on the top of Gearman::Util module.
Link to commit



Posted on Utopian.io - Rewarding Open Source Contributors

Prevent Perl's deep recursion warnings | Ecency