Bug 239151 - Does not honor $http_proxy
Summary: Does not honor $http_proxy
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-05 12:18 UTC by Enrico Scholz
Modified: 2013-01-10 01:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 16:44:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2007-05-05 12:18:09 UTC
Description of problem:

Although koji uses HTTP protocol it ignores proxy settings and connects
directly to the target host. This makes it unusable in most environments
behind a firewall.

| $ set | grep proxy
| http_proxy=http://www-cache:3128/
| https_proxy=http://www-cache:3128/
|
| $ strace koji list-api
| connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("209.132.176.98")}, 16 <unfinished ...>


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

koji-1.1-1.fc6

Comment 1 Mike McLean 2007-05-07 19:19:40 UTC
Is a web proxy really appropriate for xml-rpc?

Comment 2 Enrico Scholz 2007-05-07 19:35:03 UTC
Using HTTP(S) as transport protocol is the base idea behind XML-RPC. Therefore: yes

plague-client++ (which uses libcurl) makes perfect use of proxies for the old
buildsystem.

Comment 3 Jesse Keating 2007-06-12 19:34:30 UTC
This has been filed upstream
https://hosted.fedoraproject.org/projects/koji/ticket/31


Note You need to log in before you can comment on or make changes to this bug.