]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: http: use 'chn' to name channel variables, not 'buf'
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2012 20:51:15 +0000 (22:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2012 21:02:51 +0000 (23:02 +0200)
commitcdbdd52a38c75646cd7a51528e6133a2893c8b55
treea7aacdc593d6b518db57c9a6445b391a0824a1de
parent394db379eb303d38bc78baffbe1c6f78de4db4f7
CLEANUP: http: use 'chn' to name channel variables, not 'buf'

These "buf" were confusing as they were really refering to channels. At
most places, a buffer was really all what was needed, so a struct buffer
was used instead. It is possible that the performance has slightly increased
by the removal of pointer offset in many pointer operations by directly
using the buffer pointer instead of the channel pointer.
src/proto_http.c