Skip to content

DisableKeepAlives in transport causes failure #185

Closed
@jefferai

Description

@jefferai

This appears at first blush to be similar-ish to #67

If you are setting a custom http.Client (e.g. using https://github.com/hashicorp/go-cleanhttp), if the transport used in the client has keepalives disabled (that is, DisableKeepAlives = true), the connection will fail with

failed to websocket dial: websocket protocol violation: Connection header "" does not contain Upgrade

This might be worth mentioning/detecting.

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