Re: [PHP-DEV] is php dev alive

2001-06-18 Thread David Hedbor

"Jason Greene" <[EMAIL PROTECTED]> writes:

> is the list back??

It does indeed look that way.
-- 
[ Below is a random fortune, which is unrelated to the above message. ]
An aphorism is never exactly true; it is either a half-truth or
one-and-a-half truths.
-- Karl Kraus


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Weird bug with Caudium SAPI (+threads )

2001-06-25 Thread David Hedbor

I have this new (for me) weird bug when using threads and the Caudium
SAPI. Basically, PHP4 will segfault quickly when doing multiple
concurrent requests (running ab). When running only one request at a
time it doesn't die. Anyhow, the weird part is that right before the
crash, part of a response page (my test script just runs phpinfo()) is
written to stdout|stderr. The crash itself seems to be due to double
freeing some data or something (see attached file).

I have tried debugging on my end but from what I can see, the problem
is separate from the caudium SAPI module (i.e I see nothing wrong
happening in my code).

Are there similar problem with other threaded SAPI modules?

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Q:  What's the difference between a Mac and an Etch-a-Sketch?
A:  You don't have to shake the Mac to clear the screen.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #9131 Updated: PHP_AUTH* empty with Caudium

2001-12-03 Thread David Hedbor

[EMAIL PROTECTED] writes:

> ID: 9131
> Updated by: derick
> Reported By: [EMAIL PROTECTED]
> Old Status: Open
> Status: Feedback
> Bug Type: Other web server
> Operating System: Linux
> PHP Version: 4.0 Latest CVS (06/02/2001)
> New Comment:
> 
> Can you possibly send a patch, or where this code needs to be added. I don't have 
>access to Caudium here.

This is actually fixed (I tried to submit a change to the bug form but
can't remember login info). That said, the following code is used:

  php_handle_auth_data(lookup_string_header("HTTP_AUTHORIZATION", NULL), TSRMLS_C);

I.e I let PHP4 do the decoding of the auth as opposed to setting it manually.

> 
> Derick
> 
> Previous Comments:
> 
> 
> [2001-11-27 05:29:46] [EMAIL PROTECTED]
> 
> It's not fixed. There are no references to auth_user in that file.
> 
> Derick
> 
> 
> 
> [2001-11-27 05:27:13] [EMAIL PROTECTED]
> 
> I think this has been fixed. You can try the latest stable build (4.0.6) or the 
>latest RC (http://download.php.net/~zeev/php-4.1.0RC3.tar.gz)
> 
> 
> 
> [2001-02-06 11:47:52] [EMAIL PROTECTED]
> 
> from sapi/caudium.c :
>  /* FIXME: Check for auth stuff needs to be fixed... */
>   SG(request_info).auth_user = NULL;
>   SG(request_info).auth_password = NULL;
> 
> 
> 
> Edit this bug report at http://bugs.php.net/?id=9131&edit=1
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
The question of whether computers can think is just like the question of
whether submarines can swim.
-- Edsger W. Dijkstra


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Docs karma request

2001-01-22 Thread David Hedbor

I just wrote installation documentation for Caudium (and added short
docs for --with-caudium), but lack the access required to check the
changes in. Also noticed small mistake in en/functions/array.xml
(it's all one list) as per the patch below.


--- array.xml   2001/01/22 21:48:27 1.51
+++ array.xml   2001/01/22 22:00:22
@@ -1680,8 +1680,6 @@
 

   
- 
- 
   
EXTR_PREFIX_INVALID


-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Q:  How many mathematicians does it take to screw in a lightbulb?
A:  One.  He gives it to six Californians, thereby reducing the problem
to the earlier joke.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Docs karma request

2001-01-22 Thread David Hedbor

[EMAIL PROTECTED] writes:

> On Mon, Jan 22, 2001 at 02:19:14PM -0800, David Hedbor wrote:
> > I just wrote installation documentation for Caudium (and added short
> > docs for --with-caudium), but lack the access required to check the
> > changes in. Also noticed small mistake in en/functions/array.xml
> > (it's all one list) as per the patch below.
> > 
> > 
> > --- array.xml   2001/01/22 21:48:27 1.51
> > +++ array.xml   2001/01/22 22:00:22
> > @@ -1680,8 +1680,6 @@
> >  
> > 
> >
> > - 
> > - 
> >
> > EXTR_PREFIX_INVALID
> > 
> 
> This is corrected in CVS.

The CVS fix ends/opens the list as shown resulting in two lists (not
visible in the HTML source as far as I can see). The above patch
removes the "extra" list if you wish.

> Please feel free to checkin your additions. I will look for it, and
> if possible change wrong XML elements.

I would if I could:

 Access denied: Insufficient Karma (neotron|phpdoc/en/chapters)
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!


-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Banectomy, n.:
The removal of bruises on a banana.
-- Rich Hall, "Sniglets"


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Docs karma request

2001-01-22 Thread David Hedbor

"Jim Winstead" <[EMAIL PROTECTED]> writes:

> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
> wrote:
> > I just wrote installation documentation for Caudium (and added short
> > docs for --with-caudium), but lack the access required to check the
> > changes in. Also noticed small mistake in en/functions/array.xml
> > (it's all one list) as per the patch below.
> 
> you should have access now.

Yes. Thank you. Caudium installation instructions now submitted. BTW,
I verified the code with 'make test'. 

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Harriet's Dining Observation:
In every restaurant, the hardness of the butter pats
increases in direct proportion to the softness of the bread.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0 Bug #9131: PHP_AUTH* empty with Caudium

2001-02-06 Thread David Hedbor

[EMAIL PROTECTED] writes:

> From: [EMAIL PROTECTED]
> Operating system: Linux
> PHP version:  4.0 Latest CVS (06/02/2001)
> PHP Bug Type: Other web server
> Bug description:  PHP_AUTH* empty with Caudium
> 
> from sapi/caudium.c :
>  /* FIXME: Check for auth stuff needs to be fixed... */
>   SG(request_info).auth_user = NULL;
>   SG(request_info).auth_password = NULL;

Yeah, I need to fix this. I had actually forgotten about it (oops).

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
As in certain cults it is possible to kill a process if you know its true name.
-- Ken Thompson and Dennis M. Ritchie


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]