]> granicus.if.org Git - pgbouncer/commit
sbuf_close: dont retry event_del() if it fails, just proceed with cleanup.
authorMarko Kreen <markokr@gmail.com>
Fri, 16 Jan 2009 12:18:24 +0000 (12:18 +0000)
committerMarko Kreen <markokr@gmail.com>
Fri, 16 Jan 2009 12:18:24 +0000 (12:18 +0000)
commitcdf2f665e6f3516718823b7f06dc87e423850e9e
tree82ee31af7d6f660733e906787e5e6b16aeb8cea0
parent576bfbb5850ec811d07f6f1234161a9593301d59
sbuf_close: dont retry event_del() if it fails, just proceed with cleanup.

The retry could have been bug in pgbouncer - although then the
question is that how to survive ENOMEM from event handlers that
may need allocation on event_del().

But this does not explain why it fails first time.  Seems there
is something funny going on in libevent.
src/sbuf.c