Project

General

Profile

Actions

Feature #2236

closed

Optimize accesslog_append_escaped

Added by crypt over 14 years ago. Updated over 14 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_accesslog
Target version:
ASK QUESTIONS IN Forums:

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).


Files

mod_accesslog.patch (2.46 KB) mod_accesslog.patch crypt, 2010-07-12 02:55
Actions #1

Updated by stbuehler over 14 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2747.

Actions

Also available in: Atom