commit | 06a000f56e6fdfd229a1f948863b17bca07ddcbb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 18 23:04:32 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 18 23:04:32 2012 +0200 |
tree | 28a9dc9263e73f0d6fe37bf32c7b8827176f8c32 | |
parent | 09d1e254c9b96300e425d0a99a162618cab12c38 [diff] |
CLEANUP: http: make it more obvious that msg->som is always null outside of chunks Since the recent buffer reorg, msg->som is redundant with buf->p but still appears at a number of places. This tiny patch allows to confirm that som follows two states : - 0 from the moment the message starts to be parsed - relative offset to ->p for start of chunk when parsing chunks During this second state, ->sol is never used, so we should probably merge the two.