Skip to content

4 x connectandsend() retries in call to HTTP.request(..., retries = 0)  #115

@samoconnor

Description

@samoconnor

conn = @retryif ClosedError 4 connectandsend(client, sch, host, ifelse(p == "", "80", p), req, opts, verbose)

Should be @retryif ClosedError retry connectandsend(... ?

Also, there are other places in client.jl where network connect, read, write etc is retried despite retries = 0:

ip = @retry Base.getaddrinfo(hostname)

tcp = @retryif Base.UVError @timeout(opts.connecttimeout::Float64,

@retryif Base.UVError write(conn.socket, reqstr)

buffer = @retry @timeout(tm, readavailable(socket), error("read timeout"))

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