Sign in Sign up curl / curl Public Sponsor Notifications Fork 6.4k Star 35.7k Code Issues 17 Pull requests 31 Discussions Actions Wiki Security Insights Hacktoberfest curl_ws_recv.md: the 'meta' pointer is only returned on success #4685 Sign in to view logs Summary Jobs merge...
Description Current curl_ws_recv implementation (ws.c) works properly if a message (frame) size is less than 16K and buffer size is equal or greater than a message size, so curl_ws_recv reads entire message in one call. In other cases it...
if(inbuf[1] & WSBIT_MASK) { @@ -419,15 +436,16 @@ CURL_EXTERN CURLcode curl_ws_recv(struct Curl_easy *data, void *buffer, data->set.buffer_size, &n); if(result) return result; if(!n) if(!n) { /* connection closed */ infof(data, "connection expectedly closed?"); retur...