reset the client when destructing;
authorMichael Wallner <mike@php.net>
Tue, 20 Aug 2013 10:20:15 +0000 (10:20 +0000)
committerMichael Wallner <mike@php.net>
Tue, 20 Aug 2013 10:20:15 +0000 (10:20 +0000)
commit6ec32dfafe61a805487e26558a8c2025ef25ef22
tree4f2c4a36c5f16775ba85cf8574d5278802667cdf
parent0d334d5f80dbbbcb23cb71a8d0b24c9c320f08b2
reset the client when destructing;

this ensures any attached requests will be
dequeued and in case of using persistent
handles can be property re-used
php_http_client.c