Skip to content

Preconfigured OkHttp dispatcher ignored #4908

@shameeksarkar

Description

@shameeksarkar

https://github.com/ktorio/ktor/blob/main/ktor-client/ktor-client-okhttp/jvm/src/io/ktor/client/engine/okhttp/OkHttpEngine.kt#L153

This does not seem intentional. The dispatcher from the preconfigred okhttp client is ignored, and a new dispatcher is created, which is configured via engine { config { ... } }.
Is there a reason for this? Willing to contribute to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions