Commit b22c65cf authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

Minor performance improvement to ap_escape_html(), since we already

calculate the string length.

It occurs to me that we could do a lot better by having a separate
interface for "just give me a pointer to my own string if nothing
needs to be escaped".  This routine is mostly used in buffer send
situations, so the extra copy is frequently just a waste of memory.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82255 13f79535-47bb-0310-9956-ffa450edef68
parent 1d24c37c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment