commit | 2b15492a751f6b3191c324c4d6a92e51f90273f0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jul 22 17:36:27 2011 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jul 24 16:12:25 2011 +0200 |
tree | 858b9650972dafee3239ea8e55a836af2d3ee8db | |
parent | 9bd0d744efdcd6bb9c910f50af9768e136d830e2 [diff] |
[MINOR] session: try to emit a 500 response on memory allocation errors When we fail to create a session because of memory shortage, let's at least try to send a 500 message directly on the socket. Even if we don't have any buffers left, the kernel's orphans management will take care of delivering the message as long as there are socket buffers left.