diff --git a/server/gameserver/httpproxy.cc b/server/gameserver/httpproxy.cc index b121c816..7e1dc8db 100644 --- a/server/gameserver/httpproxy.cc +++ b/server/gameserver/httpproxy.cc @@ -22,12 +22,12 @@ struct HttpProxyRequest static void _ProxyCallback(f8::JsonHttpRequest* request) { - #ifdef DEBUG1 + //#ifdef DEBUG a8::UdpLog::Instance()->Debug("ProxyCallbBack request:%s", { request->request.ToJsonStr() }); - #endif + //#endif std::string seq_id = request->request.Get("seq_id"); HttpProxyRequest* req = HttpProxy::Instance()->GetRequest(seq_id); if (req) { @@ -108,14 +108,12 @@ std::string HttpProxy::HttpGet(a8::XParams param, { HttpProxyRequest* req = HttpProxy::Instance()->GetRequest(param.sender.GetString()); if (req) { -#ifdef DEBUG1 a8::UdpLog::Instance()->Warning("ProxyHttpGet error url:%s params:%s response:%s", { req->url, req->url_params.ToJsonStr(), response }); -#endif req->on_error(req->param, response); } HttpProxy::Instance()->DestoryRequest(req);