chandrasis / php-handlersocket

Automatically exported from code.google.com/p/php-handlersocket
0 stars 0 forks source link

Can not close connection and can not reconnect (SigPipe problem) #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect
2. Read one record with executeSingle
3. Wait handlersocket_timeout seconds with sleep() for example
4. Try to read next record and you'll get SIGPIPE

I would like to reconnect in that point, but there is no such method to close 
HandlerSocket-socket, unset($handle) does not work, and there is no function 
close() in php5.4.10

if i just start another connection, it does not work at all, no records is 
found on the second connection with the same credentials.

Original issue reported on code.google.com by d.anan...@gmail.com on 26 Apr 2013 at 5:51