Upgrade Go to the latest 1.26.
Changes that are currently affecting us
Client now uses and sets cookies scoped to URLs with the host portion matching Request.Host when available. Previously, the connection address host was always used. ServeMux trailing slash redirects now use HTTP status 307 (Temporary Redirect) instead of 301 (Moved Permanently).
This breaks TestMux/path_clean_conformance from x-pack/filebeat/input/http_endpoint/input_test.go:890
=== RUN TestMux/path_clean_conformance
input_test.go:922: path "/a//b": status mux=301, http.ServeMux=307
input_test.go:922: path "/a/b/../": status mux=301, http.ServeMux=307
input_test.go:922: path "/a/./b": status mux=301, http.ServeMux=307
input_test.go:922: path "/x///y/z/": status mux=301, http.ServeMux=307
input_test.go:922: path "/x/y/z/../z/": status mux=301, http.ServeMux=307
input_test.go:922: path "/x/y/../y/z/": status mux=301, http.ServeMux=307
--- FAIL: TestMux (0.00s)
I've already pinged the team that owns the http_endpoint input for help on how they want to fix that.
PR updating the behaviour: #50686
Upgrade Go to the latest 1.26.
Changes that are currently affecting us
net/http - Changelog
This breaks
TestMux/path_clean_conformancefromx-pack/filebeat/input/http_endpoint/input_test.go:890I've already pinged the team that owns the
http_endpointinput for help on how they want to fix that.PR updating the behaviour: #50686