Repository navigation
Conversation
--h3, --h2 and --h1 now say which protocols to speak, in any combination, and all three without any of them. HTTP/3 still comes only by a record that offers it, while HTTP/2 and HTTP/1.1 come by a record that offers them or by having no usable record, on the default port. A host that offers none of the protocols given, wherever its records point, is left out, with a note on why, and counted as "left out" instead of "without h3". So --h3 alone no longer falls back to TCP. anyhttp offers HTTP/1.1 along with h2, and a server may take it. With --h2 and without --h1, the connection is closed before the request goes out, which counts as one that failed, so the next address or route still gets its turn. A test server that speaks nothing but HTTP/1.1 shows that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A host now takes as long as its slowest address rather than all of them together. Replies and notes stay in the order of the addresses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A 3xx response gets its Location at the end of the status line, as the server sent it: not resolved against the URL and not requested. This matters most with --each-address, which prints no header fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy anyhttp's config at the pin (ecc70cf): re-enable modernize-concat-nested-namespaces and performance-avoid-endl, which find nothing here, disable readability-redundant-qualified-alias and performance-enum-size, and allow std::exception_ptr by value. Fix the findings other than missing includes: designated initializers, reserve() and emplace_back, std::move of the exception, the executor by const reference, internal linkage in the tests, explicit discard of fflush(), and the program_options headers that are used instead of the umbrella header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.