WorkManager provides a required network for scheduled jobs with network constraints
https://developer.android.com/reference/androidx/work/WorkerParameters#getNetwork()
Using this specific network is possible with a custom Dns and SocketFactory. However the naive implementation would probably result in defeating connection pooling in some cases.
Is there a supported pattern for this, if Dns and SocketFactory both support equality checks, would pooling be correctly retained?
cc @swankjesse
WorkManager provides a required network for scheduled jobs with network constraints
https://developer.android.com/reference/androidx/work/WorkerParameters#getNetwork()
Using this specific network is possible with a custom Dns and SocketFactory. However the naive implementation would probably result in defeating connection pooling in some cases.
Is there a supported pattern for this, if Dns and SocketFactory both support equality checks, would pooling be correctly retained?
cc @swankjesse