|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50087 [PATCH] - NSAPI performance improvements
Submitted: 2009-11-05 10:38 UTC Modified: 2009-11-12 15:20 UTC
From: yoarvi at gmail dot com Assigned: thetaphi (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 6SVN-2009-11-05 (SVN) OS: Solaris 5.10 (SPARC)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
21 - 15 = ?
Subscribe to this entry?

 [2009-11-05 10:38 UTC] yoarvi at gmail dot com
The PHP NSAPI plugin for Sun Web Server could be made more efficient by applying the following patches that were previously posted to the internals mailing list.

1. Use pool_malloc/pool_free instead of MALLOC/FREE

2. Use pool_strdup instead of STRDUP

3. Remove unnecessary strdup calls

4. Avoid unnecessary strlen

Expected result:
Improved performance.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-05 15:58 UTC]
I will look into it!
 [2009-11-12 15:12 UTC]
The patch nsapi3.patch was invalid, because it used an unitialized "pos" variable. Also it registered the wrong contents for SCRIPT_NAME. I fixed this.

I will commit soon to 5.3 and trunk.
 [2009-11-12 15:19 UTC]
Automatic comment from SVN on behalf of thetaphi
Log: Fix bug #50087: NSAPI performance improvements
 [2009-11-12 15:20 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Fixed in 5.3 snapshot and trunk snapshot. 5.3.1 will not contain this patch.
 [2009-11-12 17:13 UTC]
Automatic comment from SVN on behalf of thetaphi
Log: As I am working on it, further improvement for bug #50087
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 21 17:01:28 2024 UTC