[WS2_32_APITESTS] Fix helper by not shutting down send. This way it breaks the test...
authorPeter Hater <7element@mail.bg>
Mon, 10 Oct 2016 06:48:56 +0000 (06:48 +0000)
committerPeter Hater <7element@mail.bg>
Mon, 10 Oct 2016 06:48:56 +0000 (06:48 +0000)
svn path=/trunk/; revision=72949

rostests/apitests/ws2_32/helpers.c

index 35bdfda..595f9b5 100644 (file)
@@ -54,10 +54,10 @@ int GetRequestAndWait(SOCKET sck)
     /* Send the GET request */
     SCKTEST(send(sck, szGetRequest, strlen(szGetRequest), 0));
     ok(iResult == strlen(szGetRequest), "iResult = %d\n", iResult);
     /* Send the GET request */
     SCKTEST(send(sck, szGetRequest, strlen(szGetRequest), 0));
     ok(iResult == strlen(szGetRequest), "iResult = %d\n", iResult);
-
+#if 0 /* breaks windows too */
     /* Shutdown the SEND connection */
     SCKTEST(shutdown(sck, SD_SEND));
     /* Shutdown the SEND connection */
     SCKTEST(shutdown(sck, SD_SEND));
-
+#endif
     /* Wait until we're ready to read */
     FD_ZERO(&readable);
     FD_SET(sck, &readable);
     /* Wait until we're ready to read */
     FD_ZERO(&readable);
     FD_SET(sck, &readable);