Feature #2236
Optimize accesslog_append_escaped
| Status: | Fixed | Start date: | 2010-07-12 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | mod_accesslog | |||
| Target version: | 1.4.27 | |||
| Missing in 1.5.x: | Yes |
Description
lighttpd > 1.4.20 got the new function accesslog_append_escaped() in mod_accesslog, which is fine but I think the implementation is a bit slow. I wrote a really simple patch, which uses buffer_append_string_len() and therefore memcpy() if the string does not contain any special characters (should be the normal case).
Associated revisions
mod_accesslog: optimize accesslog_append_escaped (fixes #2236, thx crypt)
History
#1 Updated by stbuehler almost 3 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r2747.
Also available in: Atom
