Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2011 20:24:57 GMT
From:      Roger Marquis <marquis@roble.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154623: tinyproxy bugfixs for #91
Message-ID:  <201102092024.p19KOv7h017338@red.freebsd.org>
Resent-Message-ID: <201102092030.p19KUAbV086370@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154623
>Category:       ports
>Synopsis:       tinyproxy bugfixs for #91
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 09 20:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Roger Marquis
>Release:        8.1-REL
>Organization:
Roble Systems
>Environment:
8.1-RELEASE-p2
>Description:
>From <https://banu.com/bugzilla/show_bug.cgi?id=91>:

upstream "site_spec" rules are ignored 
>How-To-Repeat:
Add "upstream"s to tinyproxy.conf.
>Fix:


Patch attached with submission follows:

--- src/conf.c.orig	2011-02-09 11:55:12.000000000 -0800
+++ src/conf.c	2011-02-09 11:56:02.000000000 -0800
@@ -1046,8 +1046,8 @@
                 return -1;
         port = (int) get_long_arg (line, &match[7]);
 
-        if (match[9].rm_so != -1) {
-                domain = get_string_arg (line, &match[9]);
+        if (match[10].rm_so != -1) {
+                domain = get_string_arg (line, &match[10]);
                 if (domain) {
                         upstream_add (ip, port, domain, &conf->upstream_list);
                         safefree (domain);


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102092024.p19KOv7h017338>