Ticket #1417 (new defect)

Opened 10 months ago

Last modified 7 months ago

mod_fastcgi doesn not accept hostnames for 'host'. This is not according to Docs:ModFastCGI

Reported by: ahaikens@… Owned by: jan
Priority: low Milestone: 1.5.0
Component: mod_fastcgi Version: 1.4.18
Severity: minor Keywords: mod_fastcgi hostname
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

Docs:ModFastCGI says you can use a hostname for host. This is not the case when I use a valid hostname in my configuration. In fcgi_establish_connection() you get the message:

"converting IP address failed for", host->host, "\nBe sure to specify an IP address here");

I use version 1.4.18.

Is there a reason why init_aton() is used iso gethostbyname() or getaddrinfo()?

Attachments

getaddrinfo.patch (2.0 kB) - added by ahaikens@… 10 months ago.
patch to resolve hostname with getaddrinfo(). But there seems to be a bug in getaddrinfo() because strangely on my system it does not work on every hostname.

Change History

Changed 10 months ago by ahaikens@…

patch to resolve hostname with getaddrinfo(). But there seems to be a bug in getaddrinfo() because strangely on my system it does not work on every hostname.

Changed 7 months ago by Olaf van der Spek

  • pending unset

Is there a reason why init_aton() is used iso gethostbyname() or getaddrinfo()?

Maybe because it is non-blocking while the other two are blocking.

Add/Change #1417 (mod_fastcgi doesn not accept hostnames for 'host'. This is not according to Docs:ModFastCGI)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.