First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 127917
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Proxy Developers <net-proxy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Georg Sauthoff <g_sauthoff@web.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
privoxy-3.0.3-gentoo-comp-fix.patch quick fix patch Georg Sauthoff 2006-03-28 13:49 0000 2.03 KB Details | Diff
privoxy-3.0.3-zlib.patch zlib patch patch Alin Năstac 2006-03-28 14:52 0000 19.07 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 127917 depends on: Show dependency tree
Show dependency graph
Bug 127917 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-28 13:48 0000
Hi,

it seems that you use the compression patch from:
http://sourceforge.net/tracker/index.php?func=detail&aid=895531&group_id=11118&atid=311118
Bug 83278 (no direct copy though)

The patch uses heavily '#ifdef FEATURE_ZLIB' but the ebuild does not enable it
(--enable-zlib). Thus the patch has just one effect:
Privoxy now sends the Accept-Encoding html-header (with -prevent-compression in
default.action) and can't decode the answer. And because of this, privoxy can't
filter compressed pages any more (e.g. google) - without any error message,
btw.

If you --enable-zlib, you notice some compile errors introduced by your patch.
An attached patch fixes this. But this is just a quick fix. I did not do a full
review of this compression patch (either your or the original version).

Because of this, I don't think that it is a good idea to enable this
experimental patch by default in this ebuild. Privoxy 3.0.3 should be a stable
version.

Regards
Georg Sauthoff

------- Comment #1 From Georg Sauthoff 2006-03-28 13:49:40 0000 -------
Created an attachment (id=83334) [edit]
quick fix

------- Comment #2 From Alin Năstac 2006-03-28 14:52:08 0000 -------
Created an attachment (id=83336) [edit]
zlib patch

Please try this patch, along with --enable-zlib in configure command line of
course. It passed the google test with success.

I plan to conditionally apply it in -r4, depending on the zlib flag. This
feature is too good to loose it.

------- Comment #3 From Alin Năstac 2006-03-30 08:41:05 0000 -------
fixed in -r4.
thanks for spotting this error!

------- Comment #4 From Georg Sauthoff 2006-04-06 07:17:23 0000 -------
Hi,

you're welcome. But one small thing:

I looked at -r4:
'epatch "${FILESDIR}/${P}-zlib.patch"'
should depend on the zlib useflag, too. Else the user with useflag -zlib gets
the entry '-prevent-compression' in his config and the mainly disabled patch at
compile time. Thus, again compressed pages are unfiltered.

Regards
Georg Sauthoff

------- Comment #5 From Alin Năstac 2006-04-06 07:31:39 0000 -------
ok, fixed in -r5.

First Last Prev Next    No search results available      Search page      Enter new bug