]> git.saurik.com Git - wxWidgets.git/commit
React to errors on socket correctly when using epoll().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Sep 2009 00:24:21 +0000 (00:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Sep 2009 00:24:21 +0000 (00:24 +0000)
commit558e196cced8f085001620620882240e2a41ddc5
treecfcbb8ce257cadb2d40c1561732802a6e150ba02
parent9bd19204037f447e640a7b06829b26216dc7b5e4
React to errors on socket correctly when using epoll().

Even though the socket is not registered for wxFDIO_EXCEPTION events,
wxEpollDispatcher will currently generate them anyhow so we shouldn't assert
if wxSocketImplUnix::OnExceptionWaiting() is called.

Instead, notify the socket about the connection loss if this happens.

Closes #11085.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/unix/sockunix.cpp