diff options
author | Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com> | 2014-08-13 12:44:27 -0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-29 10:46:57 +0100 |
commit | 212aefaa53d142baa9a22f5aadd2e72eb916c0c0 (patch) | |
tree | 9ac89ef774853fcd9cec92a84ae1d7c02ead2652 /qemu-img.c | |
parent | 28fa7133b89555355418aeee4fca01cae2081aeb (diff) |
block.curl: adding 'timeout' option
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wait for the connection.
Adding a new option to set this timeout gives the user this
flexibility. The previous default timeout of 5 seconds will be
used if this option is not present.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Reviewed-by: Benoit Canet <benoit.canet@nodalink.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions