Skip to content

metadata: need http timeout #6498

@therealmitchconnors

Description

@therealmitchconnors

Client

metadata

Code

https://github.com/googleapis/google-cloud-go/blob/main/compute/metadata/metadata.go#L66

tcp dial timeout is set, but http timeout is not. If http server connects, but is slow to send response, client will hang indefinitely

Expected behavior

http timeout occurs

Actual behavior

client hangs indefinitely

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions