OOR-CORS: Adjust CORS preflight cache size

To ensure that the cache size can not be too large,
we have the maximum cache entries limit. We change
the limit to 1024, and also introduces the key size
limit since the URL can be too long in some cases.

Bug: 962824
Change-Id: I3252c68a46dfcfc78cdac6d05a3a2481aace7527
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1609727
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659430}
1 file changed