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

Support link names up to 64Kb #112

Closed
wants to merge 2 commits into from

Conversation

mattjala
Copy link
Collaborator

Moved the URL for cURL requests to the heap to support longer URLs.

The specific new value of URL_MAX_LENGTH, ((64 * 1024) + 1024) + 2048 is the maximum tested link length in the API tests (64 * 1024 + 1024) plus the maximum expected length of the rest of a URL (2048).

Requires HSDS to support long URLs, which is implemented in HDFGroup/hsds#294. This is a draft PR until that gets into master.

@mattjala mattjala added bug Something isn't working testing Related to testing process labels Dec 18, 2023
@mattjala mattjala changed the title Long link name Support link names up to 64Kb Dec 18, 2023
@mattjala
Copy link
Collaborator Author

Because sending URLs longer than ~2 Kb is unreliable, this will be handled through new API exposed in HDFGroup/hsds#296 instead.

@mattjala mattjala closed this Jan 19, 2024
@mattjala mattjala deleted the long_link_name branch March 21, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing Related to testing process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants