• Piotr Pawliczek's avatar
    mDNS cache: Switch index to case-insensitive order · 3318cc99
    Piotr Pawliczek authored
    In mDNS cache, names are compared in standard, case-sensitive way.
    However, according to RFC 6762 mDNS names are case-insensitive. As a
    result, chrome cannot resolve mDNS name if it has different
    capitalization than a corresponding field in mDNS record returned by a
    device. The only solution seems to be switching mDNS cache to a
    case-insensitive index.
    
    BUG=chromium:1108807
    TEST=tested on atlas
    
    Change-Id: Ia641e82fd4f175c39d1a80f52b1111238bf50b4e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315355
    Auto-Submit: Piotr Pawliczek <pawliczek@chromium.org>
    Commit-Queue: Eric Orth <ericorth@chromium.org>
    Reviewed-by: default avatarEric Orth <ericorth@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#791348}
    3318cc99
mdns_client_unittest.cc 53 KB