Date: 01/02/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7050 Updated: DL_UNLOAD symbol not found"
- Previous message: Charles Lecklider: "[PHP-DEV] Re: PHP 4.0 Bug #6115 Updated: phpinfo() uses wrong variable"
- In reply to: Alan Halachmi: "[PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Next in thread: Alan Halachmi: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Reply: Alan Halachmi: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Dec 30, 2000 at 08:31:27PM -0500, Alan Halachmi wrote:
> memset( &hints, '\0', sizeof(hints) );
> hints.ai_family = AF_UNSPEC;
> if ((err = getaddrinfo(host, NULL, &hints, &res))) {
> php_error(E_WARNING, "getaddrinfo failed for host: %s with error: %d",
> host, err);
> php_error(E_WARNING, gai_strerror(err));
> return -1;
> }
What error do you get then? Does it always fail, only once in a while,
or every time on a few URLs?
> I'm not familiar enough with the getaddrinfo call to tell you if it is
> failing because of a bug in Solaris, a problem in our system configuration,
> or if it is a problem with the php source.
Is this Solaris 8? I suspect it is, I don't have access to Solaris 8 at
the moment. Could you do some tests if I give you some pieces of C code
to test with? There hasn't been that many reports, it would be interesting
to hear from others as well, so we can figure if it's your setup or not.
There are some minor differences with getaddrinfo on different OSes, and
some broken implementations. Might be we need some tweaking on Solaris 8.
> I hope this helps.
Thanks, it's good to get some details, you've done good so far. If you
are willing to work a little with me on this, we might solve it.
Stig
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7050 Updated: DL_UNLOAD symbol not found"
- Previous message: Charles Lecklider: "[PHP-DEV] Re: PHP 4.0 Bug #6115 Updated: phpinfo() uses wrong variable"
- In reply to: Alan Halachmi: "[PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Next in thread: Alan Halachmi: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Reply: Alan Halachmi: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7880 Updated: PHP_URL_FOPEN doesn't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

