Skip to content
Snippets Groups Projects
  • Steven Barth's avatar
    c5b5e688
    6in4: detect curl and busybox wget · c5b5e688
    Steven Barth authored
    
    b52053b 6in4: https support for he.net tunnel api
    introduced HTTPS support using wget.
    The busybox version of wget, however, doesn't support the -V option,
    thus poluting logfiles with a full invalid-parameter-output.
    Redirect stderr to fix that.
    As libcurl and curl support selecting the SSL library of your choice,
    also add support for curl which is more commonly used on OpenWrt than
    "real" wget which needs libopenssl.
    Also make sure to respect SSL_CERT_DIR and increase timeouts.
    
    Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
    
    SVN-Revision: 43228
    c5b5e688
    History
    6in4: detect curl and busybox wget
    Steven Barth authored
    
    b52053b 6in4: https support for he.net tunnel api
    introduced HTTPS support using wget.
    The busybox version of wget, however, doesn't support the -V option,
    thus poluting logfiles with a full invalid-parameter-output.
    Redirect stderr to fix that.
    As libcurl and curl support selecting the SSL library of your choice,
    also add support for curl which is more commonly used on OpenWrt than
    "real" wget which needs libopenssl.
    Also make sure to respect SSL_CERT_DIR and increase timeouts.
    
    Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
    
    SVN-Revision: 43228