diff options
author | Grzegorz Nosek <root@localdomain.pl> | 2008-12-03 21:18:36 +0100 |
---|---|---|
committer | Grzegorz Nosek <root@localdomain.pl> | 2008-12-03 21:18:36 +0100 |
commit | 86921709962b95d4c7bf65c1c409c9809bf2e357 (patch) | |
tree | a77327b5850d830e89d866430abb14ba0925fb9b | |
parent | 86f0d04e4877a07b3afe5da5a854333adda89bf7 (diff) | |
download | fcgiwrap-86921709962b95d4c7bf65c1c409c9809bf2e357.tar.xz fcgiwrap-86921709962b95d4c7bf65c1c409c9809bf2e357.zip |
Don't eat characters after final CR/LF
-rw-r--r-- | fcgiwrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,8 +128,8 @@ static const unsigned char header_state_machine[REPLY_STATE_MAX][CC_MAX] = { }, [REPLY_STATE_2LF] = { [CC_NORMAL] = REPLY_STATE_BODY | ACTION_END, - [CC_CR] = REPLY_STATE_2LF | ACTION_SKIP, - [CC_LF] = REPLY_STATE_2LF | ACTION_SKIP, + [CC_CR] = REPLY_STATE_BODY | ACTION_END, + [CC_LF] = REPLY_STATE_BODY | ACTION_END, }, [REPLY_STATE_BODY] = { [CC_NORMAL] = REPLY_STATE_BODY | ACTION_END, |