Skip to content

ConnectionOptions::OPTION_TIMEOUT is also used for the response #281

@gghdev

Description

@gghdev

Hi there,

At the moment, the same timeout option, ConnectionOptions::OPTION_TIMEOUT, is used both when establishing the socket (as expected) and for stream_set_timeout() in HttpHelper::createConnection().

Ideally I'd set the former to something short, like 3 seconds, and the latter to something longer, like 10 seconds in order to account for longer-running queries. Currently, I need to set the higher value for both.

Should there be an additional option along the lines of ConnectionOptions::OPTION_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