mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:47:28 +03:00
fixes quiche 2
This commit is contained in:
parent
5623d9e275
commit
388889bae5
2 changed files with 7 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue