[PATCH v2 6/6] winhttp: Remove and extra pending_sends increment in WinHttpWebSocketSend().

Paul Gofman pgofman at codeweavers.com
Wed Jan 26 07:14:19 CST 2022


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
   That is a leftover from the previous version of the earlier committed patches. I think it didn't introduce
   a regression but prevents further sync sends once a send was queued async.

   v2:
      - added patch.

 dlls/winhttp/request.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 41a4cef9bc3..ed1336925e4 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -3375,7 +3375,6 @@ DWORD WINAPI WinHttpWebSocketSend( HINTERNET hsocket, WINHTTP_WEB_SOCKET_BUFFER_
                 release_object( &socket->hdr );
                 free( s );
             }
-            else ++socket->hdr.pending_sends;
         }
         else
         {
-- 
2.34.1




More information about the wine-devel mailing list