Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97701d0

Browse files
committed
Disable experimental HTTP cache support, bump uWS
1 parentb3948e6 commit97701d0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

‎src/AppWrapper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -937,17 +937,17 @@ void uWS_App(const FunctionCallbackInfo<Value> &args) {
937937

938938
/* µWS itself will terminate if not responded and not attached
939939
* onAborted handler, so we can assume it's done*/
940-
},13);
940+
}/*, 13*/);
941941

942942
args.GetReturnValue().Set(args.Holder());
943943

944944

945945
}else {
946-
uWS_App_get<APP>(&uWS::TemplatedApp<false, uWS::CachingApp<false>>::get, args);
946+
//uWS_App_get<APP>(&uWS::TemplatedApp<false, uWS::CachingApp<false>>::get, args);
947947
}
948948

949949
}elseifconstexpr (std::is_same<APP, uWS::SSLApp>::value) {
950-
uWS_App_get<APP>(&uWS::TemplatedApp<true, uWS::CachingApp<true>>::get, args);
950+
//uWS_App_get<APP>(&uWS::TemplatedApp<true, uWS::CachingApp<true>>::get, args);
951951
}
952952

953953
}, args.Data()));

‎src/HttpResponseWrapper.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ struct HttpResponseWrapper {
4444
ifconstexpr (PROTOCOL ==2) {
4545
return (uWS::Http3Response *) res;
4646
}elseifconstexpr (PROTOCOL ==3) {
47-
return (uWS::CachingHttpResponse *) res;
47+
//return (uWS::CachingHttpResponse *) res; // is correct
48+
return (uWS::HttpResponse<PROTOCOL !=0> *) res;// not correct
4849
}else {
4950
return (uWS::HttpResponse<PROTOCOL !=0> *) res;
5051
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp