summaryrefslogtreecommitdiffstats
path: root/qtest.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb@linux.vnet.ibm.com>2014-08-13 12:44:27 -0300
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-29 10:46:57 +0100
commit212aefaa53d142baa9a22f5aadd2e72eb916c0c0 (patch)
tree9ac89ef774853fcd9cec92a84ae1d7c02ead2652 /qtest.c
parent28fa7133b89555355418aeee4fca01cae2081aeb (diff)
downloadhqemu-212aefaa53d142baa9a22f5aadd2e72eb916c0c0.zip
hqemu-212aefaa53d142baa9a22f5aadd2e72eb916c0c0.tar.gz
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 'qtest.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud