Skip to content

Is HTTP/1.1 Request Pipelining supported #1893

Closed
@passsy

Description

@passsy

I have to communicate with very limited hardware which supports only a few concurrent connections. I can work around this limitation with http pipelining which will be fully supported.

There is only one problem:
OkHttp doesn't seem to support http pipelining. Will this be supported in the future?

Activity

swankjesse

swankjesse commented on Oct 2, 2015

@swankjesse
Collaborator

No, we aren't planning on supporting HTTP pipelining. It’s not robust.

inder123

inder123 commented on Apr 4, 2016

@inder123

@swankjesse what do you mean HTTP pipelining is not robust? Pipelining should help in poor bandwidth connections in many countries. How would I go about enabling it in OkHttp?

inder123

inder123 commented on Apr 4, 2016

@inder123

https://github.com/jasondevj/hotpotato seems to support pipelining and is under Apache license. May be we can borrow something from there?

swankjesse

swankjesse commented on Apr 4, 2016

@swankjesse
Collaborator

They disabled it from Chrome because it performed poorly.
https://www.chromium.org/developers/design-documents/network-stack/http-pipelining

The workaround is HTTP/2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @swankjesse@inder123@passsy

        Issue actions

          Is HTTP/1.1 Request Pipelining supported · Issue #1893 · square/okhttp