From e14ee657476f4ad026705b7762d4a505a37d276f Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Tue, 28 Jun 2011 22:01:12 +0000 Subject: GlibTCPServer: defer shutdown_request to avoid closing the socket too early OLPC #10906 In Python 2.7, shutdown_request was added to the BaseServer class and TCPServer was adopted to use it instead of close_request in the _handle_request_noblock() path. GlibTCPServer must be adapted to account for this, so that shutdown_request is not allowed to prematurely allowed to close the socket, in the same way that close_request is ignored. Fixes collaboration in activities that rely on this mechanism for sharing (including ImageViewer and Read) Signed-off-by: Daniel Drake Acked-by: Simon Schampijer Tested-by: Gonzalo Odiard Tested-by: Simon Schampijer --- (limited to 'configure.ac') -- cgit v0.9.1