ok, I think I figured it out:
1. you're callback functions in set_complete_fn (client) and add_function (worker) explicitly need to return GEARMAN_SUCCESS. Check out examples/reverse_client_cb.pl for an example.
2. then there was still a memory leak which I hope to have fixed in lp:~roccoblues/gearmanxs/bug507781-memory-leak. Can you run your tests again with this branch?
Thanks!
ok, I think I figured it out:
1. you're callback functions in set_complete_fn (client) and add_function (worker) explicitly need to return GEARMAN_SUCCESS. Check out examples/ reverse_ client_ cb.pl for an example.
2. then there was still a memory leak which I hope to have fixed in lp:~roccoblues/gearmanxs/bug507781-memory-leak. Can you run your tests again with this branch?
Thanks!