OkHttp4 Support Broken Due to Idle Connection PR #1176
Labels
bug
This issue is a bug.
potential-regression
Marking this issue as a potential regression to be checked by team member
Describe the bug
A recent PR was merged, which requires ConnectionListener support to function correctly.
ConnectionListener was introduced in OkHttp 5.x, so this change will break OkHttp 4.x support.
Regression Issue
Expected behavior
Building an OkHttpEngine4 instance should not require any OkHttp 5.x concepts.
Current behavior
Instantiating
OkHttpEngine4
will lead to aClassNotFoundException
exception forConnectionListener
whenconfig.buildClient(...)
is called.Steps to Reproduce
Configure a OkHttp4Engine in accordance with these instructions:
Use http-client-engine-okhttp4 v1.3.20 to reproduce.
Possible Solution
No response
Context
No response
Smithy-Kotlin version
aws.smithy.kotlin:http-client-engine-okhttp4:1.3.20
Platform (JVM/JS/Native)
JVM
Operating system and version
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: