diff options
author | Tomash Brechko <tomash.brechko@gmail.com> | 2007-11-12 17:48:54 +0000 |
---|---|---|
committer | Tomash Brechko <tomash.brechko@gmail.com> | 2007-11-12 17:48:54 +0000 |
commit | 79b394e58127f37ef0aa4364ca0c33c8f3a03055 (patch) | |
tree | e7b9f80115718c048827fc9697d56fd8fde6f72a /ChangeLog | |
parent | 40c76ceda88edb4610d28a546d4f2f11ad98c5cb (diff) | |
download | memcached-79b394e58127f37ef0aa4364ca0c33c8f3a03055.tar.gz |
Always send "SERVER_ERROR out of memory" when memory exhausted.
Before the fix the code tried to append "END\r\n" to whatever there
was in the buffer, which may produce bogus result because the buffer
might not end in "\r\n". Also the result of add_iov() wasn't tested.
(Patch from Tomash Brechko, <tomash.brechko@gmail.com>)
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@630 b0b603af-a30f-0410-a34e-baf09ae79d0b
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-11-12 Steven Grimm <sgrimm@facebook.com> + + * Patch from Tomash Brechko <tomash.brechko@gmail.com>: Always send + "SERVER_ERROR out of memory" when memory exhausted. + 2007-10-15 Paul Lindner <lindner@inuus.com> * Patch from David Bremner <bremner@unb.ca> that implements |