diff --git a/server/gameserver/httpproxy.cc b/server/gameserver/httpproxy.cc index d594d9f2..9cd35410 100644 --- a/server/gameserver/httpproxy.cc +++ b/server/gameserver/httpproxy.cc @@ -38,11 +38,12 @@ static void _ProxyCallback(f8::JsonHttpRequest* request) if (data.GetType() == a8::XOT_SIMPLE) { data.ReadFromJsonString("{}"); } + f8::HttpContext ctx; if (request->request.HasKey("errcode") && request->request.Get("errcode").GetInt() == 0) { - req->cb(true, &request->request, nullptr); + req->cb(true, &request->request, &ctx); } else { - req->cb(false, &request->request, nullptr); + req->cb(false, &request->request, &ctx); } HttpProxy::Instance()->DestoryRequest(req); } diff --git a/third_party/f8 b/third_party/f8 index 74dfc2b9..2d814bb9 160000 --- a/third_party/f8 +++ b/third_party/f8 @@ -1 +1 @@ -Subproject commit 74dfc2b9f910f757d57cca73f35909061417fba1 +Subproject commit 2d814bb9b97e2a1c8be22c5063e7dbde467168a9