Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty bytes error in s3 store and support AWS_ENDPOINT_URL #421

Merged
merged 1 commit into from Nov 27, 2023

Conversation

allada
Copy link
Collaborator

@allada allada commented Nov 27, 2023

Some http servers can send empty strings in the stream, but we
do not allow this in our code since this is the EOF signal.

Also adds ability to use custom AWS_ENDPOINT_URL env to change
destination of s3 endpoint.


This change is Reviewable

Copy link
Collaborator Author

@allada allada left a comment

Choose a reason for hiding this comment

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

+@aaronmondal

Reviewable status: 0 of 3 files reviewed, all discussions resolved (waiting on @aaronmondal)

Some http servers can send empty strings in the stream, but we
do not allow this in our code since this is the EOF signal.

Also adds ability to use custom AWS_ENDPOINT_URL env to change
destination of s3 endpoint.
@allada allada changed the title Fix bug in s3 store where client sends empty string Fix empty bytes error in s3 store and support AWS_ENDPOINT_URL Nov 27, 2023
Copy link
Contributor

@aaronmondal aaronmondal left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @allada)

Copy link
Contributor

@aaronmondal aaronmondal left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @allada)

@allada allada merged commit cf531dc into main Nov 27, 2023
15 checks passed
@allada allada deleted the fix-s3-store branch November 27, 2023 19:21
TripleKai pushed a commit to TripleKai/turbo-cache that referenced this pull request Nov 29, 2023
…Machina#421)

Some http servers can send empty strings in the stream, but we
do not allow this in our code since this is the EOF signal.

Also adds ability to use custom AWS_ENDPOINT_URL env to change
destination of s3 endpoint.
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.

None yet

2 participants