commit | 001823c3047676130d4e9d8825f3669359741479 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 12 17:25:32 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 12 17:38:25 2018 +0200 |
tree | 5cc3bd6f777e4af4f17c7d2a5810246d925d923d | |
parent | 4c34c0e74a4727ef1c45224b822b093fedb50ee1 [diff] |
MEDIUM: h1: remove the useless H1_MSG_BODY state This state was only a delimiter between headers and body but it now causes more harm than good because it requires someone to change it. Since the H1 parser knows if we're in DATA or CHUNK_SIZE, simply let it set the right next state so that h1m->state constantly matches what is expected afterwards.