X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ntsimulator%2Fntsim-ng%2Futils%2Fhttp_client.c;h=dd15a6d81584d14154cdd5e686f8dc7534b8a135;hb=22cd30649dfac2fcfdf233765aa7feeea7141d96;hp=d0d9827146864d397e9d7733ad9d6b7448a36376;hpb=3bbf9d8a3c81afebcffb2b926cef219336dd53d6;p=sim%2Fo1-interface.git diff --git a/ntsimulator/ntsim-ng/utils/http_client.c b/ntsimulator/ntsim-ng/utils/http_client.c index d0d9827..dd15a6d 100644 --- a/ntsimulator/ntsim-ng/utils/http_client.c +++ b/ntsimulator/ntsim-ng/utils/http_client.c @@ -160,8 +160,8 @@ int http_socket_request(const char *url, const char *sock_fname, const char *met } curl_easy_setopt(curl, CURLOPT_HTTPHEADER, header); - curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 15L); //seconds timeout for a connection - curl_easy_setopt(curl, CURLOPT_TIMEOUT, 15L); //seconds timeout for an operation + curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 30L); //seconds timeout for a connection + curl_easy_setopt(curl, CURLOPT_TIMEOUT, 30L); //seconds timeout for an operation curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1L); curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L);