From 2aed8e179f0675f5b17d75f3904ea7d905f4336a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 8 Feb 2023 23:02:50 +0100 Subject: [PATCH] curl/websockets.h: extend the websocket frame struct --- include/curl/websockets.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/curl/websockets.h b/include/curl/websockets.h index d7387a1aec..fd6a916547 100644 --- a/include/curl/websockets.h +++ b/include/curl/websockets.h @@ -33,6 +33,7 @@ struct curl_ws_frame { int flags; /* See the CURLWS_* defines */ curl_off_t offset; /* the offset of this data into the frame */ curl_off_t bytesleft; /* number of pending bytes left of the payload */ + size_t len; /* size of the current data chunk */ }; /* flag bits */