[Yum-devel] [PATCH] Add option "curl_options". Helps BZ 849177

James Antill james at fedoraproject.org
Mon Apr 29 15:23:13 UTC 2013


On Mon, 2013-04-29 at 10:35 +0200, Zdenek Pavlas wrote:
> ---
>  docs/yum.conf.5 | 12 ++++++++++++
>  yum/config.py   |  2 ++
>  yum/yumRepo.py  |  1 +
>  3 files changed, 15 insertions(+)
> 
> diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
> index 66129bd..0872be2 100644
> --- a/docs/yum.conf.5
> +++ b/docs/yum.conf.5
> @@ -364,6 +364,13 @@ with the \fBthrottle\fR option (above). If \fBthrottle\fR is a percentage and
>  ignored. Default is `0' (no bandwidth throttling). 
>  
>  .IP
> +\fBcurl_options \fR
> +
> +Yum uses the Curl library to perform all network IO.  This option may contain
> +a list of OPTION=VALUEs to fine tune the curl behavior.  For example, to turn
> +off the FTP extended passive more, you can set it to `FTP_USE_EPSV=0'.

 NAK.
 This is a really bad idea, as it basically means we have to continue to
use curl forever or break our configuration ... and any
bad/incompatible/whatever changes curl makes to how it parses this
option can't be worked around by us (without doing way more work than
we'll want to).

 Just add an ftp_passive option (maybe with a "default" option as well
as yes/no).



More information about the Yum-devel mailing list