Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93549 - dog aborts with "Connection refused" for http-URLs
Summary: dog aborts with "Connection refused" for http-URLs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 07:12 UTC by Stefan Schmiedl
Modified: 2005-05-23 02:01 UTC (History)
2 users (show)

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


Attachments
dog-1.7-64bit.patch (dog-1.7-64bit.patch,791 bytes, patch)
2005-05-23 01:47 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schmiedl 2005-05-22 07:12:38 UTC
dog can't connect to the server socket for at least http-URLs

Reproducible: Always
Steps to Reproduce:
1. emerge dog
2. dog http://xss.de

Actual Results:  
1. >>> emerge (1 of 1) sys-apps/dog-1.7-r1 to /  ... etc.
2. dog: http://xss.de/: Connection refused

Expected Results:  
The webserver's response should have been displayed

dog.c does not recognize the platform as 64-bit system.
The line (about line 42)
#if defined(__alpha)
should be
#if defined(__alpha) || defined(__x86_64__)
Comment 1 Ciaran McCreesh 2005-05-23 01:38:21 UTC
Could someone from amd64 please confirm this? Could someone from ppc64 please
let me know whether they have the same issue, and if so what the #define thingie
for their arch is?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-23 01:47:41 UTC
Created attachment 59612 [details, diff]
dog-1.7-64bit.patch

Here uses Invalid argument instead of Connection refused, but I can confirm it.


The attached patch is a bit more intrusive, but fixes the problem for *all*
arches, present and future.
Comment 3 Ciaran McCreesh 2005-05-23 02:01:54 UTC
Thanks.