summaryrefslogtreecommitdiff
path: root/lib/c-hyper.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-02-08 14:24:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-02-10 08:28:58 +0100
commit2e2e3d16c5c77596a789f6e6a1b30be7fc17360c (patch)
treeee4d94b897e1b3381c61df7fad4c0d6a334dac98 /lib/c-hyper.c
parent2aed8e179f0675f5b17d75f3904ea7d905f4336a (diff)
downloadcurl-2e2e3d16c5c77596a789f6e6a1b30be7fc17360c.tar.gz
ws: fix recv of larger frames
+ remove 'oleft' from the struct + deal with "overflow data" in a separate dynbuf Reported-by: Mike Duglas Fixes #10438 Closes #10447
Diffstat (limited to 'lib/c-hyper.c')
-rw-r--r--lib/c-hyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c
index 74856d9a5..9c7632d35 100644
--- a/lib/c-hyper.c
+++ b/lib/c-hyper.c
@@ -485,7 +485,7 @@ CURLcode Curl_hyper_stream(struct Curl_easy *data,
if(k->upgr101 == UPGR101_WS) {
if(http_status == 101) {
/* verify the response */
- result = Curl_ws_accept(data);
+ result = Curl_ws_accept(data, NULL, 0);
if(result)
return result;
}