File: 1002_unset_http_proxy.patch

package info (click to toggle)
libfurl-perl 3.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 668 kB
  • sloc: perl: 2,186; makefile: 5; sh: 1
file content (25 lines) | stat: -rw-r--r-- 639 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Unset environment variable http_proxy (in addition to HTTP_PROXY)
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2025-10-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/t/100_low/08_proxy.t
+++ b/t/100_low/08_proxy.t
@@ -119,6 +119,7 @@
 }
 
 local $ENV{'HTTP_PROXY'} = '';
+local $ENV{'http_proxy'} = '';
 
 # Request target with non-default port
 
--- a/t/100_low/32_proxy_auth.t
+++ b/t/100_low/32_proxy_auth.t
@@ -39,6 +39,7 @@
 my $via = "VIA!VIA!VIA!";
 
 local $ENV{'HTTP_PROXY'} = '';
+local $ENV{'http_proxy'} = '';
 test_tcp(
     client => sub {
         my $proxy_port = shift;