setsockopt(SO_KEEPALIVE) on TCP display connections.
authorAdam Jackson <ajax@redhat.com>
Wed, 2 Dec 2009 19:31:56 +0000 (14:31 -0500)
committerAdam Jackson <ajax@redhat.com>
Wed, 2 Dec 2009 19:31:56 +0000 (14:31 -0500)
commit1cf2a87def76f4646fe05e282b45605d572f2513
tree0faad98e3ca5009ee78a4019518241f98e642205
parente82c34c2f7ac3fbb23ab14cbee8df2dd9178f5a4
setsockopt(SO_KEEPALIVE) on TCP display connections.

This matches xtrans behaviour in SocketINETConnect, and makes it so apps
don't hang forever if their display dies.

Signed-off-by: Adam Jackson <ajax@redhat.com>
src/xcb_util.c