httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: passing bucket data to pcre
Date Fri, 02 May 2003 17:37:00 GMT
* Cliff Woolley wrote:

> On Wed, 30 Apr 2003, [ISO-8859-1] André Malo wrote:
> 
>> Which does the copy itself? I'd have no problem with such an API. But
>> ;-) do we really need it?
> 
> No, it doesn't do the copy itself.  Rather than taking a null-terminated
> string with no length, it takes a buffer (not necessarily null-terminated)
> and a length.  The latter is what we get out of the bucket brigades.
> PCRE (from what I'm told) apparently has a function that can take data in
> this form directly.

Ah, that's the point. In my memory PCRE took only C-Strings. If it takes
buffers, yes, the API would be useful.

nd
-- 
>kann mir jemand sagen, was genau @-Domains sind?
Ein Mythos. Ein Werbetrick. Verarsche. Nenn es wie du willst...

                 -- Alexandra Buss und Björn Höhrmann in dciwam

Mime
View raw message