commit | ea1175a687eff6800928549488caf9398206479f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Mar 05 15:52:30 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 08 12:28:11 2012 +0200 |
tree | 75e4a219f2d6b45a28f2ce0af88871cb3b1cd910 | |
parent | a458b679652d21ee39cb6b9edd12cb7c38aff32c [diff] |
MAJOR: http: change msg->{som,col,sov,eoh} to be relative to buffer origin These offsets were relative to the buffer itself. Now they're relative to the buffer's origin (buf->p) which normally corresponds to the start of current message. This saves a big dependency between the HTTP message struct and the buffers. It appeared during this change that ->col is not used anymore (it will have to be removed). Next step is to turn ->eol and ->sol from absolute to relative.