diff --git a/meta-openeuler/recipes-core/iSulad/iSulad/0005-fix-exec-30s-exit.patch b/meta-openeuler/recipes-core/iSulad/iSulad/0005-fix-exec-30s-exit.patch new file mode 100644 index 0000000000000000000000000000000000000000..76a79ee04b67713d56a2c17afffbe51598a40492 --- /dev/null +++ b/meta-openeuler/recipes-core/iSulad/iSulad/0005-fix-exec-30s-exit.patch @@ -0,0 +1,26 @@ +From 17355d674552731da40d80855ad2c50db3d60f25 Mon Sep 17 00:00:00 2001 +From: lisimin +Date: Sun, 26 Sep 2021 20:05:54 +0800 +Subject: [PATCH] fix exec 30s exit + +Signed-off-by: lisimin +--- + src/utils/http/http.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/utils/http/http.c b/src/utils/http/http.c +index 0dcbcd5..72f9c9e 100644 +--- a/src/utils/http/http.c ++++ b/src/utils/http/http.c +@@ -424,8 +424,6 @@ int http_request(const char *url, struct http_get_options *options, long *respon + /* complete connection within 30 seconds */ + curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, 30L); + /* if less than 1k data is received in 30s, abort */ +- curl_easy_setopt(curl_handle, CURLOPT_LOW_SPEED_LIMIT, 1024L); +- curl_easy_setopt(curl_handle, CURLOPT_LOW_SPEED_TIME, 30L); + /* provide a buffer to store errors in */ + curl_easy_setopt(curl_handle, CURLOPT_ERRORBUFFER, errbuf); + curl_easy_setopt(curl_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); +-- +2.16.4 + diff --git a/meta-openeuler/recipes-core/iSulad/iSulad_2.0.9.bb b/meta-openeuler/recipes-core/iSulad/iSulad_2.0.9.bb index cc1ca675ba7fa14953247c8c71b160080a137d88..80267cbbb351036a6dc428fbf2748e719150cb82 100644 --- a/meta-openeuler/recipes-core/iSulad/iSulad_2.0.9.bb +++ b/meta-openeuler/recipes-core/iSulad/iSulad_2.0.9.bb @@ -4,10 +4,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" SRC_URI = "file://iSulad/v2.0.9.tar.gz \ - 0001-fix-bug-disable-selinux-not-selinux-label-file.patch \ - 0002-delete-call-setlocale.patch \ - 0003-modify-printf-to-arm32.patch \ - 0004-deamon-do-not-support-attach-and-pause.patch \ + file://0001-fix-bug-disable-selinux-not-selinux-label-file.patch \ + file://0002-delete-call-setlocale.patch \ + file://0003-modify-printf-to-arm32.patch \ + file://0004-deamon-do-not-support-attach-and-pause.patch \ + file://0005-fix-exec-30s-exit.patch \ " FILESPATH_prepend += "${LOCAL_FILES}/${BPN}:"