httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Petazzoni <maxime.petazz...@bulix.org>
Subject Re: svn commit: r366174 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c
Date Sat, 07 Jan 2006 11:38:41 GMT
* William A. Rowe, Jr. <wrowe@rowe-clan.net> [2006-01-07 02:50:23]:

> Why not
> 
> +    boundary_line = apr_pstrcat(p, "--", mail->boundary, "\r\n", NULL);
> 
> which should be far faster than a regex evaluation?

Actually this problem has already been cut off by r366386 because yes,
a regexp is not a fast solution. We don't need to look for the EOL
character, either it's \r\n or \n.

- Sam

-- 
Maxime Petazzoni (http://www.bulix.org)
 -- gone crazy, back soon. leave message.

Mime
View raw message