Re: Apache builds
| From: | Scott MacVicar | Date: | Fri, 18 Jul 2008 11:34:31 +0000 |
| Subject: | Re: Apache builds | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39087@lists.php.net to get a copy of this message | ||
Steph,
Steph Fox wrote:
Hi Scott, thanks,I think we can actually just add an fsizer function and use apr_brigade_length(pbb->bb); That should give us the length of all the data in the bucket brigade, not tested as I'm not even sure about how to go about doing so. I'll commit a patch later today to 5.3 and then merge all these missed changes to HEAD.John worked on apache2filter and for some reason he only made a change to do with streams on the 5.x branch [1] and never merged his change to head. It means that currently apache2filter works on HEAD but not on PHP 5.3Ahhhhhhhhhhh it was 2 years ago in 5_2 branch.I've not yet had time to see if there is a way to get a length of content from a previous brigade in Apache. We may just need to buffer the result and then call it? I'm unsure at the moment.Isn't it just a case of rewriting php_apache_fteller_stream() to use the new API?Also I dont think the apache filter SAPI is in use by anyone, but I could be wrong here.I suppose the chances of throwing it out are zero...
Cheers, - StephScott