commit | 4f5480b0198ae3a88b1928565600dece0ad97cd7 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Fri Jul 12 15:34:37 2019 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Fri Jul 12 15:34:37 2019 +0300 |
tree | fce19aba3ae6d1ffc7930d3a3d952b36050374c6 | |
parent | 45e6a345e1cd5fe02bb6b24d1f2e5c28e229f7db [diff] |
Perl: protection against duplicate $r->sleep() calls. Duplicate $r->sleep() and/or $r->has_request_body() calls result in undefined behaviour (in practice, connection leaks were observed). To prevent this, croak() added in appropriate places.