pfsense/pfsense — pull request #1411 by phil-davis (2014-12-30 12:56:01+00:00)
Title: ipsec_smp_dump_status get out of loop if error

when reading response from socket.
Otherwise it would be in a loop and end up like: https://forum.pfsense.org/index.php?topic=86039.msg471848#msg471848
PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/ipsec.inc on line 383

This code runs on my system, but I do not know how to induce the possible loop condition to actually test if it would really break out and return nicely.