From: Perttu Ahola Date: Mon, 17 Oct 2011 15:02:26 +0000 (+0300) Subject: Catch SendFailedException when replying back in Connection::Receive() X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=93f4d2b3f126412c057747ecf430a4ffba4f66a3;p=zefram%2Fminetest%2Fminetest_engine.git Catch SendFailedException when replying back in Connection::Receive() --- diff --git a/src/connection.cpp b/src/connection.cpp index 89cb7dd0..0f09753b 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -1102,6 +1102,11 @@ u32 Connection::Receive(u16 &peer_id, u8 *data, u32 datasize) if(m_socket.WaitData(0) == true) continue; } + catch(SendFailedException &e) + { + derr_con<<"Receive(): SendFailedException; peer_id=" + <