From 12ebc92e55efbe08616506d7f543c3c9ed88de43 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 13 Oct 2014 23:52:19 +0200 Subject: Revert "*TEST* send udp sync. Stop uncontroled and hidden use of IO threads." This reverts commit 8c41271b3312f2a02608ffc41b220f7fb018d6ad. Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs --- .../Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs index 1d76c14..881e768 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs @@ -375,28 +375,12 @@ namespace OpenMetaverse // Synchronous mode waits until the packet callback completes // before starting the receive to fetch another packet -// if (!m_asyncPacketHandling) + if (!m_asyncPacketHandling) AsyncBeginReceive(); } } } - public void SyncSend(UDPPacketBuffer buf) - { - try - { - m_udpSocket.SendTo( - buf.Data, - 0, - buf.DataLength, - SocketFlags.None, - buf.RemoteEndPoint - ); - } - catch (SocketException) { } - catch (ObjectDisposedException) { } - } - public void AsyncBeginSend(UDPPacketBuffer buf) { // if (IsRunningOutbound) -- cgit v1.1