service/request_handler.c
@@ -63,6 +63,8 @@ response["msg"] = rmsg; response["payload"] = payload; const std::string str = response.toStyledString(); err_msg(0, "login send back:\n %s", str.c_str()); // nng内部会释放buf rv = nng_send(sock, strdup(str.c_str()), str.length(), NNG_FLAG_ALLOC); //free(buf);