From: Daniel Stenberg Date: Wed, 8 Feb 2023 22:02:50 +0000 (+0100) Subject: curl/websockets.h: extend the websocket frame struct X-Git-Tag: curl-7_88_0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aed8e179f0675f5b17d75f3904ea7d905f4336a;p=thirdparty%2Fcurl.git curl/websockets.h: extend the websocket frame struct --- 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 */