소스 검색

Fix RPC server default params.

Xie Han 2 달 전
부모
커밋
fd44a0a226
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/rpc_options.h

+ 4 - 3
src/rpc_options.h

@@ -51,9 +51,10 @@ struct RPCClientParams
 
 struct RPCServerParams : public WFServerParams
 {
-	RPCServerParams() :
-		WFServerParams(SERVER_PARAMS_DEFAULT)
-	{}
+	RPCServerParams() : WFServerParams(SERVER_PARAMS_DEFAULT)
+	{
+		this->request_size_limit = RPC_BODY_SIZE_LIMIT;
+	}
 };
 
 static constexpr struct RPCTaskParams RPC_TASK_PARAMS_DEFAULT =