Eonblast/Emysql — pull request #94 by bpuzon (2013-08-09 22:11:33+00:00)
Title: Prevent the conn mgr from locking out the db if a client dies

This is the fix for: https://github.com/Eonblast/Emysql/issues/93

Whenever a connection is locked for a specific pid, emysql_conn_mgr monitors that pid. If the client dies, the connection is reset (I considered just returning it to the pool, it may be in the middle of returning data from MySQL, may it be not).

Note this is based on commit eff612d72b3f808ef6688c72bf69905c85ca02fd