Repository navigation
Conversation
This branch has not been deployed
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.
What
A server can reject a POST before reading its body. When an
Expect: 100-continuerequest receives a final 413 response, the Linux HTTP backend keeps selecting the upload timeout because the uploaded byte count is still below the request size. A disabled or long send timeout therefore overrides the configured receive timeout while reading the response.Select the receive deadline once final response headers are ready. The loopback regression rejects the upload with status 413 and delays its response body by 500 ms. With sending timeout disabled and receiving timeout set to 100 ms, SendRequest preserves the 413 response and ReadData returns the receive-timeout error.
Tested
The regression fails before the production change with
early response used upload deadline for receiving: it reads the delayed body instead of honoring the receive deadline. After the fix, the full bundled Linux Release integration build and six checks pass without skips: guest_http, guest_http2, guest_http_network, guest_http_response_header, guest_ssl and patched_libraries. Final tested source network suite: 1.43 s. Committed integrationbc48bb562on upstreamee4962190builds successfully with 32 workers. Local topic and integration conventions pass.The new timeout condition and regression match the integration. The integration also contains the separate partial-body and empty-Location fixes from fork PRs #16 and #17; this topic includes neither. Windows and an independent full topic build have not been run. Host deadlines and console timeout semantics remain unmeasured on console hardware. No title progression or new exports are claimed.
This is a review PR in the JJenkx fork, based on the Linux transport branch. The upstream author quota remains occupied by boykopovar#4474.
Checklist
October 13 upstream update
Updated against upstream
9d0a41d5a10and the transport parent's new head2ec383a8c6; the published head is4107dc1176. It merges cleanly with its transport parent and newer upstream0214069e33c(the intervening upstream change only updates the build workflow). Local conventions pass against the updated parent. The validation reported above applies to its original tested revision.This PR deliberately targets
feat/linux-http-transportto keep its follow-up diff separate. The repository's manual full-build workflow only accepts PRs targetingmain, so its inapplicable dispatch was cancelled. Targeted validation of this updated head is reported below.Targeted validation of published head
4107dc1176: Linux Release with bundled pinned dependencies;guest_http_tests,guest_http_response_header_testsandguest_http_network_testsbuild successfully. All three corresponding CTest checks pass without skips, including the local HTTP/HTTPS transport regression fixture. Each parent/follow-up branch was checked out and rebuilt separately in the same isolated validation worktree; these are individual branch results. This is a targeted Linux build, not full Windows or full-suite validation.