|
@@ -486,12 +486,13 @@ namespace Chromium {
|
|
|
js.append("}");
|
|
js.append("}");
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
- std::string js = CSimpleString::Format("{\"messageType\":5,\"errorCode\":\"%d\",\"errorMsg\":\"1537 session break\",\"sessionID\":-1,\"transID\":125}", Error_DevNotAvailable).GetData();
|
|
|
|
|
|
|
+ std::string js = CSimpleString::Format("{\"messageType\":5,\"errorCode\":\"%d\",\"errorMsg\":\"1537 session break\",\"sessionID\":-1,\"transID\":%s}", Error_DevNotAvailable, transid.c_str()).GetData();
|
|
|
|
|
|
|
|
auto dst_js = restroreTransId(js);
|
|
auto dst_js = restroreTransId(js);
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("deal_sessionBreakMsg, len:%d, srcPayLoad:%s, ret:%s", payload.length()
|
|
|
|
|
- , payload.length() > 800 ? payload.substr(0, 800).append("...").c_str() : payload.c_str(), dst_js.second.c_str());
|
|
|
|
|
- do_send_msg(hdl, js);
|
|
|
|
|
|
|
+ auto dst_payload = restroreTransId(payload);
|
|
|
|
|
+ DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("deal_sessionBreakMsg, len:%d, srcPayLoad:%s, ret:%s", dst_payload.second.length()
|
|
|
|
|
+ , dst_payload.second.length() > 800 ? dst_payload.second.substr(0, 800).append("...").c_str() : dst_payload.second.c_str(), dst_js.second.c_str());
|
|
|
|
|
+ do_send_msg(hdl, dst_js.second);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|