[Xcb] [Bug 5960] Intermittent failure of XCBConnect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 9 09:22:30 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=5960


Jamey Sharp <jamey at minilop.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          QAContact|                            |xcb at lists.freedesktop.org




--- Comment #1 from Jamey Sharp <jamey at minilop.net>  2009-10-09 09:22:27 PST ---
XCB needs to handle connection errors better; see libxtrans/Xtranssock.c for
how it's been handled in Xlib. Patches welcome. :-)

For TCP sockets there's this comment, with a similar but different set of
issues for Unix sockets:

If the error was ECONNREFUSED, the server may be overloaded
and we should try again.

If the error was EWOULDBLOCK or EINPROGRESS then the socket
was non-blocking and we should poll using select

If the error was EINTR, the connect was interrupted and we
should try again.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Xcb mailing list