Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/LibreOffice/external/curl/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 556 B image not shown  

Quelle  emscripten-proxy-poll.patch.0   Sprache: unbekannt

 
--- lib/select.c
+++ lib/select.c
@@ -51,6 +51,8 @@
 #include "curl_printf.h"
 #include "curl_memory.h"
 #include "memdebug.h"
+
+int websocket_proxy_poll(struct pollfd *fds, nfds_t nfds, int timeout);
 
 /*
  * Internal function used for waiting a specific amount of ms
@@ -318,7 +320,7 @@
     pending_ms = -1;
   else
     pending_ms = 0;
-  r = poll(ufds, nfds, pending_ms);
+  r = websocket_proxy_poll(ufds, nfds, pending_ms);
   if(r <= 0) {
     if((r == -1) && (SOCKERRNO == EINTR))
       /* make EINTR from select or poll not a "lethal" error */

[ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet)  ]