infinipool/ezk — Issue #3: Bug in ezk_connection:terminate
Author: wangbin77
Created: 2011-12-15 02:31:40+00:00
State: open

For code
dict:map(fun(_Key, {CommId, Path, From}) ->
From ! {error, client_broke, CommId, Path},
ok
end, OpenRequests),

From is not PID. It should look like (Note: I set the return as {error, client_borke} like the return in methods from ezk.erl

ErrorReply = {error, client_broke},
case From of
{blocking, PId} ->
gen_server:reply(PId, ErrorReply);
{nonblocking, ReceiverPId, Tag} ->
ReceiverPId ! {Tag, ErrorReply}