Make QuicMemoryCacheBackend::InitializedBackend correctly support Windows paths. This method attempts to turn file system paths into URL host/path. It does so by looking for '/' characters explicitly but that's not the path separator on windows. It's '\\'. This change replaces all '\\' characters in the path with '/' before parsing.

Technically it's possible that on non-windows platforms some filename might actually contain a '\\' character, but since this is a toy tool I think we don't need to worry about that case.

gfe-relnote: Not used in the GFE
PiperOrigin-RevId: 285334250
Change-Id: I68925dd2272e52df023f3f98ce0878dc6021943e
2 files changed
tree: bbb4fcb7717c295ae201e546a9a20f0363036faa
  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.