From 5d0e0e9b1b7ed540a64efbeaea1fa5b0e53f99fa Mon Sep 17 00:00:00 2001 From: lesismal Date: Mon, 5 Sep 2022 20:46:56 +0800 Subject: [PATCH] handler: set asyncResponse with true as default related: https://github.com/lesismal/arpc/issues/41#issuecomment-1236913774 --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.go b/handler.go index 2b36e75..827c400 100644 --- a/handler.go +++ b/handler.go @@ -760,7 +760,7 @@ func NewHandler() Handler { batchRecv: true, batchSend: true, asyncWrite: true, - asyncResponse: false, + asyncResponse: true, recvBufferSize: 8192, sendQueueSize: 4096, maxBodyLen: DefaultMaxBodyLen,