xmlrpc icon indicating copy to clipboard operation
xmlrpc copied to clipboard

Define open_timeout and read_timeout independently

Open ceritium opened this issue 4 months ago • 2 comments

Hi, is there any reason why we can't define open_timeout and read_timeout independently?

I would be happy to implement it; I think the following code would be enough:

    def open_timeout=(new_timeout)
      @http.open_timeout = new_timeout
    end

    def read_timeout=(new_timeout)
      @http.read_timeout = new_timeout
    end

ceritium avatar Feb 22 '24 15:02 ceritium