fixes quiche 2

This commit is contained in:
Viktor Szakats 2026-03-09 01:36:03 +01:00
parent 5623d9e275
commit 388889bae5
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View file

@ -514,10 +514,14 @@ static void cf_quiche_process_ev(struct Curl_cfilter *cf,
struct h3_stream_ctx *stream,
quiche_h3_event *ev)
{
enum quiche_h3_event_type type;
if(!stream)
return;
switch(quiche_h3_event_type(ev)) {
type = quiche_h3_event_type(ev);
switch(type) {
case QUICHE_H3_EVENT_HEADERS: {
struct cb_ctx cb_ctx;
stream->resp_got_header = TRUE;
@ -563,7 +567,7 @@ static void cf_quiche_process_ev(struct Curl_cfilter *cf,
default:
CURL_TRC_CF(data, cf, "[%" PRIu64 "] recv, unhandled event %d",
stream->id, (int)quiche_h3_event_type(ev));
stream->id, (int)type);
break;
}
}

View file

@ -436,7 +436,7 @@ static LRESULT CALLBACK main_window_proc(HWND hwnd, UINT uMsg,
break;
}
if(signum) {
logmsg("main_window_proc: %d -> %d", uMsg, signum);
logmsg("main_window_proc: %u -> %d", uMsg, signum);
raise(signum);
}
}