Print Setting frame for QuicSocketDataProvider if VerifyWriteData fails The Setting frame is handled by the server's pending streams in production, which requires encryption established. But in unit tests, this is not necessary, because the goal for this QUIC server session is to decode various HTTP frames. So create a subclass from QuicSimpleServerSessionforTest and override IsEncryptionEstablished to be always true. BUG=366568084 TEST=net_unittests \ --gtest_filter=QuicSocketDataProviderTest.PrintInitialSettingsPacket Change-Id: Icc60eb0e20ea8ec63c0b4ff003c16342fc5ce1e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6055526 Reviewed-by: Adam Langley <agl@chromium.org> Commit-Queue: Xinan Lin <linxinan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1396283}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.