Re: cvs: php-src /ext/sockets sockets.c
| From: | Jason Greene | Date: | Tue, 08 Jul 2003 13:22:55 +0000 |
| Subject: | Re: cvs: php-src /ext/sockets sockets.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-22430@lists.php.net to get a copy of this message | ||
On Tue, 2003-07-08 at 08:15, Sascha Schumann wrote:
> On Tue, 8 Jul 2003, Jason Greene wrote:
>
> > If the platform supports gethostbyname_r(most i know do), that is thread
> > safe.
>
> Note the "2" in the name.
>
> - Sascha
I should have been more specific, we should change the ipv4 resolver
code in sockets to use either getaddrinfo or gethostbyname_r, as it is
currently not thread safe.
The Ipv6 resolver code should just always use getaddrinfo
-Jason
--
Jason Greene <jason@inetgurus.net>
<jason@php.net>