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

Merge upstream release-branch.go1.16 into microsoft/release-branch.go1.16 #248

Conversation

microsoft-golang-bot
Copy link
Collaborator

🔃 This is an automatically generated PR merging upstream release-branch.go1.16 into microsoft/release-branch.go1.16.

This PR should auto-merge itself when PR validation passes. If CI fails and you need to make fixups, be sure to use a merge commit, not a squash or rebase!


After these changes, the difference between upstream and the branch is:

A	.github/CODEOWNERS
D	.github/CODE_OF_CONDUCT.md
D	.github/ISSUE_TEMPLATE
D	.github/PULL_REQUEST_TEMPLATE
D	.github/SUPPORT.md
A	.github/workflows/codeql-analysis.yml
A	CODE_OF_CONDUCT.md
A	NuGet.config
M	README.md
M	SECURITY.md
A	SUPPORT.md
A	eng/.gitignore
A	eng/README.md
A	eng/Version.Details.xml
A	eng/Versions.props
A	eng/_core/README.md
A	eng/_core/archive/archive.go
A	eng/_core/archive/writer.go
A	eng/_core/cmd/build/build.go
A	eng/_core/cmd/pack/pack.go
A	eng/_core/go.mod
A	eng/_util/README.md
A	eng/_util/cmd/createbuildassetjson/createbuildassetjson.go
A	eng/_util/cmd/run-builder/run-builder.go
A	eng/_util/cmd/sync/sync.go
A	eng/_util/go.mod
A	eng/_util/go.sum
A	eng/common/CIBuild.cmd
A	eng/common/PSScriptAnalyzerSettings.psd1
A	eng/common/README.md
A	eng/common/SetupNugetSources.ps1
A	eng/common/SetupNugetSources.sh
A	eng/common/build.ps1
A	eng/common/build.sh
A	eng/common/cibuild.sh
A	eng/common/cross/arm/sources.list.bionic
A	eng/common/cross/arm/sources.list.jessie
A	eng/common/cross/arm/sources.list.trusty
A	eng/common/cross/arm/sources.list.xenial
A	eng/common/cross/arm/sources.list.zesty
A	eng/common/cross/arm/trusty-lttng-2.4.patch
A	eng/common/cross/arm/trusty.patch
A	eng/common/cross/arm64/sources.list.bionic
A	eng/common/cross/arm64/sources.list.buster
A	eng/common/cross/arm64/sources.list.stretch
A	eng/common/cross/arm64/sources.list.trusty
A	eng/common/cross/arm64/sources.list.xenial
A	eng/common/cross/arm64/sources.list.zesty
A	eng/common/cross/arm64/tizen-build-rootfs.sh
A	eng/common/cross/arm64/tizen-fetch.sh
A	eng/common/cross/arm64/tizen/tizen.patch
A	eng/common/cross/armel/armel.jessie.patch
A	eng/common/cross/armel/sources.list.jessie
A	eng/common/cross/armel/tizen-build-rootfs.sh
A	eng/common/cross/armel/tizen-fetch.sh
A	eng/common/cross/armel/tizen/tizen-dotnet.ks
A	eng/common/cross/armel/tizen/tizen.patch
A	eng/common/cross/build-android-rootfs.sh
A	eng/common/cross/build-rootfs.sh
A	eng/common/cross/s390x/sources.list.bionic
A	eng/common/cross/toolchain.cmake
A	eng/common/cross/x86/sources.list.bionic
A	eng/common/cross/x86/sources.list.trusty
A	eng/common/cross/x86/sources.list.xenial
A	eng/common/darc-init.ps1
A	eng/common/darc-init.sh
A	eng/common/dotnet-install.cmd
A	eng/common/dotnet-install.ps1
A	eng/common/dotnet-install.sh
A	eng/common/enable-cross-org-publishing.ps1
A	eng/common/generate-graph-files.ps1
A	eng/common/generate-locproject.ps1
A	eng/common/helixpublish.proj
A	eng/common/init-tools-native.cmd
A	eng/common/init-tools-native.ps1
A	eng/common/init-tools-native.sh
A	eng/common/internal-feed-operations.ps1
A	eng/common/internal-feed-operations.sh
A	eng/common/internal/Directory.Build.props
A	eng/common/internal/Tools.csproj
A	eng/common/msbuild.ps1
A	eng/common/msbuild.sh
A	eng/common/native/CommonLibrary.psm1
A	eng/common/native/common-library.sh
A	eng/common/native/find-native-compiler.sh
A	eng/common/native/install-cmake-test.sh
A	eng/common/native/install-cmake.sh
A	eng/common/native/install-tool.ps1
A	eng/common/pipeline-logging-functions.ps1
A	eng/common/pipeline-logging-functions.sh
A	eng/common/post-build/add-build-to-channel.ps1
A	eng/common/post-build/check-channel-consistency.ps1
A	eng/common/post-build/nuget-validation.ps1
A	eng/common/post-build/post-build-utils.ps1
A	eng/common/post-build/publish-using-darc.ps1
A	eng/common/post-build/sourcelink-validation.ps1
A	eng/common/post-build/symbols-validation.ps1
A	eng/common/post-build/trigger-subscriptions.ps1
A	eng/common/sdk-task.ps1
A	eng/common/sdl/NuGet.config
A	eng/common/sdl/execute-all-sdl-tools.ps1
A	eng/common/sdl/extract-artifact-packages.ps1
A	eng/common/sdl/init-sdl.ps1
A	eng/common/sdl/packages.config
A	eng/common/sdl/run-sdl.ps1
A	eng/common/templates/job/execute-sdl.yml
A	eng/common/templates/job/generate-graph-files.yml
A	eng/common/templates/job/job.yml
A	eng/common/templates/job/onelocbuild.yml
A	eng/common/templates/job/publish-build-assets.yml
A	eng/common/templates/job/source-build.yml
A	eng/common/templates/job/source-index-stage1.yml
A	eng/common/templates/jobs/jobs.yml
A	eng/common/templates/jobs/source-build.yml
A	eng/common/templates/phases/base.yml
A	eng/common/templates/phases/publish-build-assets.yml
A	eng/common/templates/post-build/channels/generic-internal-channel.yml
A	eng/common/templates/post-build/channels/generic-public-channel.yml
A	eng/common/templates/post-build/common-variables.yml
A	eng/common/templates/post-build/post-build.yml
A	eng/common/templates/post-build/setup-maestro-vars.yml
A	eng/common/templates/post-build/trigger-subscription.yml
A	eng/common/templates/steps/add-build-to-channel.yml
A	eng/common/templates/steps/build-reason.yml
A	eng/common/templates/steps/publish-logs.yml
A	eng/common/templates/steps/run-on-unix.yml
A	eng/common/templates/steps/run-on-windows.yml
A	eng/common/templates/steps/run-script-ifequalelse.yml
A	eng/common/templates/steps/send-to-helix.yml
A	eng/common/templates/steps/source-build.yml
A	eng/common/templates/steps/telemetry-end.yml
A	eng/common/templates/steps/telemetry-start.yml
A	eng/common/tools.ps1
A	eng/common/tools.sh
A	eng/init-pwsh.sh
A	eng/pipeline/README.md
A	eng/pipeline/jobs/builders-to-jobs.yml
A	eng/pipeline/jobs/go-builder-matrix-jobs.yml
A	eng/pipeline/jobs/run-job.yml
A	eng/pipeline/jobs/sign-job.yml
A	eng/pipeline/pr-outerloop-pipeline.yml
A	eng/pipeline/pr-pipeline.yml
A	eng/pipeline/rolling-internal-pipeline.yml
A	eng/pipeline/rolling-pipeline.yml
A	eng/pipeline/steps/checkout-unix-task.yml
A	eng/pipeline/steps/checkout-windows-task.yml
A	eng/pipeline/steps/init-pwsh-task.yml
A	eng/run.ps1
A	eng/signing/.gitignore
A	eng/signing/NuGet.Config
A	eng/signing/README.md
A	eng/signing/Sign.proj
A	eng/signing/Sign.props
A	eng/sync/sync-pipeline.yml
A	eng/utilities.ps1
A	eng/workaround-install-mercurial.sh
A	global.json
M	src/cmd/dist/test.go
M	src/cmd/internal/moddeps/moddeps_test.go

dmitshur and others added 2 commits November 1, 2021 21:27
Pull in approved backports to golang.org/x/net/http2:

	d8c3cde set ContentLength to -1 for HEAD response with no Content-Length
	7b24c0a set Response.ContentLength to 0 when headers end stream
	c4031f5 don't abort half-closed streams on server connection close
	2f744fa on write errors, close ClientConn before returning from RoundTrip
	275be3f deflake TestTransportReqBodyAfterResponse_200
	d26011a close the Request's Body when aborting a stream
	e5dd05d return unexpected eof on empty response with non-zero content length
	640e170 don't rely on system TCP buffer sizes in TestServer_MaxQueuedControlFrames
	198b78c detect write-blocked PING frames
	20ed279 avoid race in TestTransportReqBodyAfterResponse_403.
	d585ef0 avoid clientConnPool panic when NewClientConn fails
	d06dfc7 avoid extra GetConn trace call
	1760f31 refactor request write flow
	6e87631 remove PingTimeout from TestTransportPingWhenReading
	b843c7d fix Transport connection pool TOCTOU max concurrent stream bug
	ab1d67c shut down idle Transport connections after protocol errors
	3741e47 remove check for read-after-close of request bodies
	2df4c53 fix race in DATA frame padding refund
	d7eefc9 avoid blocking while holding ClientConn.mu
	78e8d65 fix off-by-one error in client check for max concurrent streams
	828651b close request body after early RoundTrip failures
	59c0c25 limit client initial MAX_CONCURRENT_STREAMS
	524fcad make Transport not reuse conns after a stream protocol error
	0fe5f8a accept zero-length block fragments in HEADERS frames
	0e5043f close the request body if needed
	bb4ce86 reduce frameScratchBuffer caching aggressiveness
	3112343 also set "http/1.1" ALPN in ConfigureServer
	63939f4 switch to ASCII equivalents of string functions
	54161af use (*tls.Dialer).DialContext in dialTLS
	75b906f discard DATA frames with higher stream IDs during graceful shutdown
	1dfe517 rework Ping test to rely less on timing

By doing:

	$ go get -d golang.org/x/net@internal-branch.go1.16-vendor
	go get: upgraded golang.org/x/net v0.0.0-20210901185431-d2e9a4ea682f => v0.0.0-20211101194150-d8c3cde3c676
	$ go mod tidy
	$ go mod vendor
	$ go generate -run=bundle std

Fixes #49076.
Fixes #48822.
Fixes #48649.

Change-Id: Ie17f327eef2b6e6a9a1ac7635c5c4daef792e893
Reviewed-on: https://go-review.googlesource.com/c/go/+/359774
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks! Auto-approving.

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.

3 participants