/[smeserver]/rpms/dehydrated/sme10/dehydrated-0.5.0-bz10521-7a0e71c6c2ccc6e98abca5ea1c7de28053e90c02.patch
ViewVC logotype

Annotation of /rpms/dehydrated/sme10/dehydrated-0.5.0-bz10521-7a0e71c6c2ccc6e98abca5ea1c7de28053e90c02.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Feb 16 22:46:27 2018 UTC (6 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: dehydrated-0_5_0-2_el7_sme
* Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> Version:	0.5.0-2.sme
- fix Dehydrated caused rate limits to be reached [SME: 10521]

1 jpp 1.1 diff -Nur dehydrated-0.5.0.ori/dehydrated dehydrated-0.5.0/dehydrated
2     --- dehydrated-0.5.0.ori/dehydrated 2018-01-13 14:08:12.000000000 -0500
3     +++ dehydrated-0.5.0/dehydrated 2018-02-16 17:41:12.261000000 -0500
4     @@ -424,7 +424,7 @@
5     statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -I)"
6     curlret="${?}"
7     elif [[ "${1}" = "get" ]]; then
8     - statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}")"
9     + statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -L s -w "%{http_code}" -o "${tempcont}" "${2}")"
10     curlret="${?}"
11     elif [[ "${1}" = "post" ]]; then
12     statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -d "${3}")"

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed