Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389675 - net-proxy/polipo-1.0.4.1 reports timeout for domains that are available
Summary: net-proxy/polipo-1.0.4.1 reports timeout for domains that are available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-11-05 20:19 UTC by Andrew Savchenko
Modified: 2013-05-02 19:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,7.35 KB, text/plain)
2011-11-05 20:20 UTC, Andrew Savchenko
Details
polipo-1.0.4.1-dns.patch (polipo-1.0.4.1-dns.patch,1014 bytes, patch)
2011-11-05 20:21 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2011-11-05 20:19:39 UTC
Hello,

For some sites (like bits.wikimedia.org, kernel.org or google.ru, list will depend on your DNS server and its settings), polipo returns Error 504 Timeout while site itself is running and accessible via any browser without a proxy.

After some investigation it was found, that when polipo receives DNS answer telling that AAAA record does not exist before receiving answer for A record with CNAMEs, it results in timeout.

Excatly the same problem and solution to it is available on Debian bugzilla:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540912
Comment 1 Andrew Savchenko gentoo-dev 2011-11-05 20:20:08 UTC
Created attachment 291773 [details]
emerge --info
Comment 2 Andrew Savchenko gentoo-dev 2011-11-05 20:21:49 UTC
Created attachment 291775 [details, diff]
polipo-1.0.4.1-dns.patch

Patch from Debian bug #540912 by Stepan Golosunov fixes this problem for me.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-02 19:46:05 UTC
+  02 May 2013; Tom Wijsman <TomWij@gentoo.org>
+  +files/polipo-1.0.4.1-dns-timeout-fix.patch, +polipo-1.0.4.1-r2.ebuild:
+  EAPI 5. Fix incorrect timeout reporting for domains that are available,
+  revision bump. Thanks to Andrew Savchenko for reporting. Fixes bug #389675.