accept() failed message on kde 1.1.2 ??
egor duda
deo@logos-m.ru
Mon Jun 18 09:58:00 GMT 2001
Hi!
ed> i'd try to figure out some way to fix it.
i think this patch will do. i still have some reservations about
non-blocking sockets, but it should definitely help with XFree problems
Ralf and Robert reported. Please give it a try and tell if it helps.
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
af_unix-socket-security-race-fix.diff
af_unix-socket-security-race-fix.ChangeLog
-------------- next part --------------
2001-06-18 Egor Duda <deo@logos-m.ru>
* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
function.
* fhandler.h: Declare it.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Don't
signal secret event immediately.
(fhandler_socket::check_peer_secret_event): Do it after peer event
was opened.
* net.cc (cygwin_connect): Or if socket is non-blocking.
(cygwin_accept): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af_unix-socket-security-race-fix.diff
Type: text/x-diff
Size: 3695 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010618/79f11d60/attachment.bin>
More information about the Cygwin-patches
mailing list