commit | 2b7addc833bdfae1d6af7694ae055a117ba88538 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Aug 31 07:37:22 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Sep 19 14:53:46 2009 +0200 |
tree | ef7771dcfeb75b97193533c51c2e3b2d81309924 | |
parent | 418fd4722a179b5e74892a9c547386c35171ab67 [diff] |
[MINOR] buffers: provide more functions to handle buffer data buffer_contig_space(), buffer_contig_data() and buffer_skip() provide easy methods to extract/insert data from/into a buffer. buffer_write() and buffer_write_chunk() currently do not check max_len nor to_forward, so they will quickly become embarrassing to use or will need an equivalent. The reason is that they are used to build error messages which currently are not subject to analysis.