Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389675 - net-proxy/polipo- reports timeout for domains that are available
Summary: net-proxy/polipo- reports timeout for domains that are available
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)
Keywords: PATCH
Depends on:
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: ---

emerge --info (,7.35 KB, text/plain)
2011-11-05 20:20 UTC, Andrew Savchenko
polipo- (polipo-,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

For some sites (like, or, 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:
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]

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 <>
+  +files/polipo-, +polipo-
+  EAPI 5. Fix incorrect timeout reporting for domains that are available,
+  revision bump. Thanks to Andrew Savchenko for reporting. Fixes bug #389675.