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
gt; 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, &g

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
L PROTECTED] > Sent: Monday, March 20, 2006 11:46 AM > To: internals@lists.php.net > Subject: [PHP-DEV] FastCGI unix sockets support patch > > > Hi, > > According to a 'php -h' output of php-cgi 5.1.2 the FastCGI > can be used only by TCP/IP: > > -b

[PHP-DEV] FastCGI unix sockets support patch

2006-03-20 Thread Rostislav Krasny
Hi, According to a 'php -h' output of php-cgi 5.1.2 the FastCGI can be used only by TCP/IP: -b | Bind Path for external FASTCGI Server mode But according to the code FastCGI could also be used by UNIX sockets. According to the code if the "-b " option is used and the port number is illegal or