From ab5b2d2274bcb031ee2d0f8042ab45e15f3c428c Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 4 Jun 2010 00:45:21 -0400 Subject: [PATCH] Windows: enable circular buffer management for rx socket input LICENSE BSD Change-Id: Ibbcb6171738b4f6adfb267b5782b53ae7170b0e9 Reviewed-on: http://gerrit.openafs.org/2084 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/rx/rx_xmit_nt.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/rx/rx_xmit_nt.c b/src/rx/rx_xmit_nt.c index 3d2d7b553..ba1e8b0c0 100644 --- a/src/rx/rx_xmit_nt.c +++ b/src/rx/rx_xmit_nt.c @@ -96,6 +96,13 @@ rxi_xmit_init(osi_socket s) &dwIn, sizeof(dwIn), &dwOut, sizeof(dwOut), &NumberOfBytes, NULL, NULL); + + /* Turn on UDP CIRCULAR QUEUEING messages */ + dwIn = 1; + rc = WSAIoctl( s, SIO_ENABLE_CIRCULAR_QUEUEING, + &dwIn, sizeof(dwIn), + &dwOut, sizeof(dwOut), + &NumberOfBytes, NULL, NULL); } int -- 2.39.5