Skip to content

Conversation

@feiniks
Copy link
Contributor

@feiniks feiniks commented Jul 21, 2023

No description provided.

else if (status == HTTP_REPO_TOO_LARGE || status == HTTP_REQUEST_TIME_OUT)
return SYNC_ERROR_ID_LIBRARY_TOO_LARGE;
else if (status == HTTP_BLOCK_MISSING)
return SYNC_ERROR_ID_BLOCK_MISSING;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

想了一下,为了便于问题排查和处理,服务器端应该一次性把所有没有上传完整的文件名在 reponse body 中以 JSON 格式返回。客户端在日志中打印一下。

@killing killing merged commit 98b5288 into master Jul 21, 2023
@killing killing deleted the check_block branch July 21, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants