Date: Wed, 12 Mar 2008 15:45:34 GMT From: Sergey Samitovsky <svs@nktv.mk.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121644: using a HTTP proxy in the frox-0.7.18_1 port Message-ID: <200803121545.m2CFjYjg090362@www.freebsd.org> Resent-Message-ID: <200803121550.m2CFo34A064674@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121644 >Category: ports >Synopsis: using a HTTP proxy in the frox-0.7.18_1 port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 12 15:50:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sergey Samitovsky >Release: 7.0-RELEASE >Organization: NKTV Ltd >Environment: FreeBSD pr.nktv.mk.ua 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Feb 29 18:16:26 EET 2008 root@pr.nktv.mk.ua:/usr/obj/usr/src/sys/PR amd64 >Description: Frox ignores the following options from the configuration file /usr/local/etc/frox.conf: CacheModule http MinCacheSize 65536 and doesn't use an HTTP proxy (like squid) and always retrieves file directly. >How-To-Repeat: Turn on http cache module in the config file and try to get any file via frox: CacheModule http HTTPProxy 127.0.0.1:3128 MinCacheSize 65536 ForceHTTP yes >Fix: Apply patch Patch attached with submission follows: --- src/cache.c.orig 2008-03-12 16:56:10.000000000 +0200 +++ src/cache.c 2008-03-12 16:56:10.000000000 +0200 @@ -364,7 +364,7 @@ int code; sstr *msg; - if(!strcasecmp(config.cachemod, "Local") || !config.forcehttp) { + if(!strcasecmp(config.cachemod, "Local") || config.forcehttp) { send_ccommand("SIZE", sstr_buf(filename)); get_message(&code, &msg); if(code / 100 != 2) { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803121545.m2CFjYjg090362>