Skip to content

Conversation

dscho
Copy link
Member

@dscho dscho commented May 26, 2025

The way the gvfs-helper command operates is apparently incompatible with HTTP/2, that's why #754 tried to enforce HTTP/1.1 in Scalar clones accessing Azure Repos.

However, this fix was incomplete for the scalar clone part because it made the HTTP/1.1 enforcement contingent on the test whether the remote repository supports the GVFS protocol or not, and that test did not enforce HTTP/1.1.

Let's fix that Catch-22 by enforcing HTTP/1.1 usage during that GVFS Protocol capability test.

The way the `gvfs-helper` command operates is apparently incompatible with HTTP/2, that's why #754 tried to enforce HTTP/1.1 in Scalar clones accessing Azure Repos. However, this fix was incomplete for the `scalar clone` part because it made the HTTP/1.1 enforcement contingent on the test whether the remote repository supports the GVFS protocol or not, and that test did _not_ enforce HTTP/1.1. Let's fix that Catch-22 by enforcing HTTP/1.1 usage during that GVFS Protocol capability test. Reported-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested a review from derrickstolee May 26, 2025 16:16
@dscho dscho self-assigned this May 26, 2025
Copy link

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

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

It's nice that we can be explicit here, making this an obviously-correct change that will not affect the other code paths.

@dscho dscho merged commit bd63763 into vfs-2.49.0 May 27, 2025
119 checks passed
@dscho dscho deleted the fix-752-more-completely branch May 27, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants