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

Update comment about buggy static file serving #1863

Merged
merged 2 commits into from
Sep 30, 2022

Conversation

jsha
Copy link
Contributor

@jsha jsha commented Sep 29, 2022

In rust-lang/rust#101702 (comment) @Nemo157 pointed out that static file handling is hacky, and even pointed out to me the relevant lines of code. But after reading the comment and the issues I still didn't understand exactly what was happening, what the desired direction was, and whether there were multiple intersecting bugs.

After staring at the code for a little while I wrote up a summary to see if I properly understand, and hopefully make it clearer for the next person who comes along. Please correct what I have gotten wrong. :-)

@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Sep 29, 2022
@jsha jsha force-pushed the update-static-file-comment branch from 3895522 to ebbb4bd Compare September 29, 2022 06:15
@jsha jsha force-pushed the update-static-file-comment branch from ebbb4bd to acbd416 Compare September 29, 2022 06:21
Copy link
Member

@Nemo157 Nemo157 left a comment

Choose a reason for hiding this comment

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

Looks correct to my understanding.

src/web/mod.rs Show resolved Hide resolved
Co-authored-by: Joshua Nelson <[email protected]>
@syphar syphar merged commit 68cb269 into rust-lang:master Sep 30, 2022
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Sep 30, 2022
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Oct 8, 2022
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.

4 participants