From 5e1444ef71ffcf30cea5b98e8a3e91e9bd820344 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Thu, 10 Jun 2021 17:27:42 +0800 Subject: [PATCH] upgrade version to V1.1.9 --- src/sf_proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sf_proto.h b/src/sf_proto.h index f836fab..2a379d0 100644 --- a/src/sf_proto.h +++ b/src/sf_proto.h @@ -299,7 +299,8 @@ static inline void sf_log_network_error_ex1(SFResponseInfo *response, conn, result, enoent_log_level) \ sf_log_network_error_ex(response, conn, result, \ (result == SF_RETRIABLE_ERROR_CHANNEL_INVALID) ? \ - LOG_DEBUG : ((result == ENOENT) ? enoent_log_level : LOG_ERR)) + LOG_DEBUG : ((result == ENOENT || result == ENODATA) ? \ + enoent_log_level : LOG_ERR)) static inline int sf_server_expect_body_length(SFResponseInfo *response, const int body_length, const int expect_body_len)