New issue
Advanced search Search tips

Issue 739519 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

[Cronet iOS]: add HTTP_CACHE_DISK_NO_HTTP caching option similar to Android

Project Member Reported by kapishnikov@chromium.org, Jul 5 2017

Issue description

Similar to Android, add support for HTTP_CACHE_DISK_NO_HTTP caching options that allows caching connection metadata without caching the actual HTTP data. This option is needed to support 0-RTT after an app restart.

Android source:
https://cs.chromium.org/chromium/src/components/cronet/android/api/src/org/chromium/net/CronetEngine.java?dr&q=CronetEngine.java+HTTP_CACHE_DISK_NO_HTTP&l=203

 
Owner: kapishnikov@chromium.org
There are two possible solutions to this issue:

1. Add a new default_load_flags field to UrlRequestContext and use it on iOS & Android. When the UrlRequext::CreateRequest() is called, the flag can be automatically added to the load flags of the created UrlRequest.
The field with the same name should be removed from the Android specific CronetUrlRequestContextAdapter class.

2(iOS specific solution). Create a UrlRequestContext wrapper with the default_load_flags field. Inject the wrapper into URLRequestContextGetter that is used by HttpProtocolHandler. This solution doesn't impact the common "net" and Cronet Android code but leads to two separate solutions for Android and iOS.
Owner: ----
Status: Untriaged (was: Available)
Status: WontFix (was: Untriaged)
There are no actual requests for this feature.

Sign in to add a comment