'Sets the timeout to use in HTTP requests, usually called by the auto
timeout adjust feature in extended_urllib.py'

def set_timeout(self, timeout, host):

    msg = 'Updating    socket    timeout    for    %s    from    %s    to    %s    seconds'
    om.out.debug((msg % (host, self.get_timeout(host), timeout)))
    self._host_timeout[host] = timeout
