Bug 83427 - [patch] www/http_load proxy support does not work
Summary: [patch] www/http_load proxy support does not work
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 02:30 UTC by Antony Mawer
Modified: 2005-07-15 22:51 UTC (History)
0 users

See Also:


Attachments
patch-ab (1.29 KB, text/plain)
2005-07-14 02:30 UTC, Antony Mawer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antony Mawer 2005-07-14 02:30:18 UTC
	The -proxy argument to the http_load port does not have any effect.
	HTTP requests are always made direct to the remote server instead
	of going via the specified proxy server.

	The same issue can be found in the NetBSD PR database located here:
	http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=26541

Fix: This patch is essentially identical to the one from NetBSD PR 26541,
	with a further change that appears to have been missed in that PR. The
	attached patch fixes the issue and has been tested successfully. After
	rebuilding with the attached patch, http_load correctly sends traffic
	via the specified proxy server.
How-To-Repeat: 	Run the http_load command with a proxy:

	http_load -proxy <proxyhost>:<port> -rate 5 -seconds 10 urls.txt

	Observe that no traffic goes via the proxy server, and instead all
	requests are made direct to the remote web servers specified in urls.txt
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-15 22:51:17 UTC
State Changed
From-To: open->closed

Committed, thanks!