Re: [PHP-DEV] FastCGI unix sockets support patch

2006-03-24 Thread Rostislav Krasny
On Fri, 24 Mar 2006 11:14:56 +0300 [EMAIL PROTECTED] ("Dmitry Stogov") wrote: > I don't think that "-b :" is good solution. > Two different options for TCP and UNIX sockets make sense. > > What is wrong with sapi/cgi/fastcgi.c? With two different options for TCP/IP and UNIX sockets you should ha

RE: [PHP-DEV] FastCGI unix sockets support patch

2006-03-24 Thread Dmitry Stogov
8:18 PM > To: internals@lists.php.net; "Dmitry Stogov" > Subject: Re: [PHP-DEV] FastCGI unix sockets support patch > > > On Thu, 23 Mar 2006 13:23:40 +0300 > [EMAIL PROTECTED] ("Dmitry Stogov") wrote: > > > Hi Rostisla, > > > > I&

Re: [PHP-DEV] FastCGI unix sockets support patch

2006-03-23 Thread Unknown W. Brackets
Wouldn't you typically use a full (absolute) path to a unix socket? And, is it not so that hostnames should not contain /'s or <'s, etc? (I'm not sure what other path separators are used on platforms PHP supports, but I'm pretty sure they all use funky characters.) Assuming these cases are tru

Re: [PHP-DEV] FastCGI unix sockets support patch

2006-03-23 Thread steve
tch into HEAD and PHP_5_1, that allows usage of > UNIX sockets without ':'. > > -b : > -b > -b > > Thanks. Dmitry. > > > -Original Message- > > From: Rostislav Krasny [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 20, 2006 10:42 PM > &

Re: [PHP-DEV] FastCGI unix sockets support patch

2006-03-23 Thread Rostislav Krasny
On Thu, 23 Mar 2006 13:23:40 +0300 [EMAIL PROTECTED] ("Dmitry Stogov") wrote: > Hi Rostisla, > > I've committed another patch into HEAD and PHP_5_1, that allows usage of > UNIX sockets without ':'. > > -b : > -b > -b It means that a choice of the unix_path is restricted. It cannot be a number

RE: [PHP-DEV] FastCGI unix sockets support patch

2006-03-23 Thread Dmitry Stogov
To: internals@lists.php.net; "Dmitry Stogov" > Subject: Re: [PHP-DEV] FastCGI unix sockets support patch > > > On Mon, 20 Mar 2006 13:44:30 +0300 > [EMAIL PROTECTED] ("Dmitry Stogov") wrote: > > > Hi Rostislav, > > > > PHP HEAD and PHP_5_1

Re: [PHP-DEV] FastCGI unix sockets support patch

2006-03-20 Thread Rostislav Krasny
On Mon, 20 Mar 2006 21:41:39 +0200 [EMAIL PROTECTED] (Rostislav Krasny) wrote: > 1. use gethostbyname2(host, AF_INET) instead of gethostbyname(host) >it will eliminate IPv6 addresses from resolving The gethostbyname() doesn't actually request IPv6 addresses. Sorry for that separate false stat

Re: [PHP-DEV] FastCGI unix sockets support patch

2006-03-20 Thread Rostislav Krasny
On Mon, 20 Mar 2006 13:44:30 +0300 [EMAIL PROTECTED] ("Dmitry Stogov") wrote: > Hi Rostislav, > > PHP HEAD and PHP_5_1 (5.1.3) don't use libfcgi any more. > They use simplest and smallest replacement library. > > Please look into CVS code and provide a patch for it (if necessary). > > Thanks. D

RE: [PHP-DEV] FastCGI unix sockets support patch

2006-03-20 Thread Dmitry Stogov
Hi Rostislav, PHP HEAD and PHP_5_1 (5.1.3) don't use libfcgi any more. They use simplest and smallest replacement library. Please look into CVS code and provide a patch for it (if necessary). Thanks. Dmitry. > -Original Message- > From: Rostislav Krasny [mailto:[EMAIL PROTECTED] > Sent