Bug 675964

Summary: RFE Patch to allow authentication behind proxy
Product: [Fedora] Fedora Reporter: Tirtha Chatterjee <tirtha.p.chatterjee>
Component: axelAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ismael, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-03 11:19:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch compiled with diff -u, corrects the above problem none

Description Tirtha Chatterjee 2011-02-08 13:09:39 UTC
Created attachment 477608 [details]
patch compiled with diff -u, corrects the above problem

Description of problem:
Axel cannot download from behind a proxy server which requires authentication. It returns a 407 error. This patch fixes that problem.

Version-Release number of selected component (if applicable):
2.4

How reproducible:

Steps to Reproduce:
1. Work behind a proxy server that requires authentication with environment variable $http_proxy set
2.type
$ axel -a http://ftp.gnu.org/gnu/hello/hello-2.6.tar.gz
  
Actual results:
Initializing download: http://ftp.gnu.org/gnu/hello/hello-2.6.tar.gz
HTTP/1.0 407 Proxy Authentication Required

Expected results:

Initializing download: http://ftp.gnu.org/gnu/hello/hello-2.6.tar.gz
File size: 594257 bytes
Opening output file hello-2.6.tar.gz
Starting download

Connection 1 finished                                                          ]
Connection 2 finished                                                          ]
Connection 3 finished                                                          ]
Connection 0 finished                                                          ]

Downloaded 580.3 kilobytes in 33 seconds. (17.16 KB/s)

Additional info:

Comment 1 Ankur Sinha (FranciscoD) 2011-02-08 13:16:01 UTC
Hi,

Thank you for the patch. I'll look into it and discuss it with upstream. 

Ankur

Comment 2 Ankur Sinha (FranciscoD) 2011-02-08 13:30:42 UTC
Upstream bug:

https://alioth.debian.org/tracker/index.php?func=detail&aid=312982&group_id=100070&atid=413085


We'll wait a while and hope upstream accepts it. According to fedora policies, we try to stay as close to upstream as possible.

Comment 3 Ismael Luceno 2017-09-19 00:07:01 UTC
Fixed in Version 2.14. Available from:
<https://github.com/axel-download-accelerator/axel>

Comment 4 Ankur Sinha (FranciscoD) 2018-01-03 11:19:34 UTC
2.15 has been pushed as an update for F27 and F26, so closing this.