Cleans up the accept_connection function such that we never insert into the slab unless the connection has already been registered. This cleans up the hacked together method to prevent the memory leak in the case that the register fails.
DO NOT MERGE UNTIL:
[ ] Reserved tokens to optionally insert. carllerche/slab#6
Cleans up the
accept_connection
function such that we never insert into the slab unless the connection has already been registered. This cleans up the hacked together method to prevent the memory leak in the case that the register fails.DO NOT MERGE UNTIL: