[sheepdog] [PATCH V3 0/2] Fix ci->refcnt and free requests correctly

Yunkai Zhang yunkai.me at gmail.com
Fri Jul 6 15:30:15 CEST 2012


From: Yunkai Zhang <qiushu.zyk at taobao.com>

V3:
1) drop client_incref/client_decref wrapper
2) remove error message in unregister_event when lookup_event failed

Yunkai Zhang (2):
  sheep: simplify client_decref() and move it into free_request() and
    add a helper function
  sheep: free all requests when connection is dead

 lib/event.c   |    4 +---
 sheep/sdnet.c |   66 +++++++++++++++++++++++++++++++++++++--------------------
 2 files changed, 44 insertions(+), 26 deletions(-)

-- 
1.7.10.4




More information about the sheepdog mailing list