]> git.saurik.com Git - redis.git/commit
Remove the write handler only if there are no longer objects in the output queue...
authorantirez <antirez@gmail.com>
Mon, 12 Sep 2011 09:05:48 +0000 (11:05 +0200)
committerantirez <antirez@gmail.com>
Mon, 12 Sep 2011 09:06:28 +0000 (11:06 +0200)
commit3bc89500d22ea86a15d58f88e159bb92374a61e0
tree92dd6fd7bfe720e96a35d39d07ec750ba5820b12
parent7551e23716dbedb3561a5e5e4c590247f6b4e50d
Remove the write handler only if there are no longer objects in the output queue AND if the static buffer is empty. This bug was the cause of a possible server-stop-responding-to-client bug under some specific work load. Thanks to Pieter Noordhuis for spotting and fixing it.
src/networking.c