Skip to content

What format should I use for the last-modified property in list API response when using scheme = azblob? #4998

Closed Answered by Xuanwo
BaurzhanSakhariev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, we are using chrono to parse DateTime by DateTime::parse_from_rfc2822. I believe Mon, 12 Aug 2024 11:16:46 UT should be a valid date time for us.

The error Connection reset by peer (os error 54) suggests there might be other network-related issues, such as the server closing the connection too early.


I'm not an expert in Java, so I just skimmed the code at AzureHttpHandler.java to give you some inspiration.

For example, the content length of the response could be incorrect if we have multi-byte characters like Chinese in the response:

https://github.com/crate/crate/blob/9ecf9b81515cb336683f62fc22b44d6876456e03/plugins/es-repository-azure/src/test/java/org/elasticsearch/repositories/a…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@BaurzhanSakhariev
Comment options

@Xuanwo
Comment options

Answer selected by BaurzhanSakhariev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants