Add QuicCryptoClientConfigTest.MultipleCanonicalEntries.

When working on cl/378863627 I originally wrote:

  auto it = canonical_server_map_.lower_bound(suffix_server_id);
  if (it == canonical_server_map_.end() || it->first < suffix_server_id) {
    canonical_server_map_.insert(...);
    return false;
  }

This is incorrect: lower_bound() never returns an iterator with key less than
its argument.  No tests caught this.  The statement should have been
  if (it == canonical_server_map_.end() || suffix_server_id < it->first) {
or simply
  if (it == canonical_server_map_.end() || it->first != suffix_server_id) {

This CL adds a test that would have failed with the incorrect statement.

PiperOrigin-RevId: 378922152
1 file changed
tree: 958f7aed60e163faa1bcec5a3ed229e7e64f194f
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.

Code can be viewed in CodeSearch in Quiche and is imported into Chromium.