mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
d380daf704
Most significantly, this includes: 6a848b1a1643 Require a minimum of TLS 1.2 (#1889) Although Crashpad only uses cpp-httplib in tests, there’s no reason to taunt fate with this tempting juicy morsel. TLS 1.1 is deprecated (https://datatracker.ietf.org/doc/html/rfc8996, 2021-03). This includes a change to util/net/http_transport_test_server.cc to ensure that the test server, which runs in a child process, continues to return the full multipart request body as it had in the past. Since cpp-httplib 7e420aeed361 introduced multipart handling, the raw multipart wrapper no longer appears in Request::body, but is instead made available at Request::files. With this change, the test server will reconstitute the original request body to match the test’s expectations. Note that this isn’t the only way to serialize the request to be conveyed back to the test, but it’s the most expedient because it’s what the test already expects, and because the existing framing already takes the form of the raw HTTP request. Change-Id: Ia4adaedff0873976f7cc5be138d78f931165fe4e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5753782 Reviewed-by: Joshua Peraza <jperaza@chromium.org>