Hi Nicola,
On 02/05/2014 10:52 AM, Nicola Cocchiaro wrote:
> Hi Nikolaus,
>
> Are there timeouts for HTTP requests sent by S3ql? I took a look at the
> 2.7 code (backends/common.py), and the http.client.HTTPConnection
> constructor calls there (as well as HTTPSConnection ones) don't seem to
> specify a timeout, and it's my understanding from the Python docs that
> this would mean defaulting to the global default timeout. However the
> default timeout for the socket library (which this should fall back to)
> is None in the absence of a call to socket.setdefaulttimeout(), meaning
> HTTP requests could block indefinitely. Is there a timeout set elsewhere
> in code that I haven't been able to find and you can point me to?
No, S3QL does not set any timeouts explicitly. It will wait until the
server closes its side of the TCP connection, or (if the connection is
interrupted) until the kernel's TCP stack decides the connection has
been lost.
Best,
Nikolaus
--
Encrypted emails preferred.
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
»Time flies like an arrow, fruit flies like a Banana.«
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.