diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2008-12-03 21:18:36 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2008-12-03 21:18:36 +0100 |
| commit | a2c3de171c79f97e5ab62273c591c4f98e147ae0 (patch) | |
| tree | a77327b5850d830e89d866430abb14ba0925fb9b | |
| parent | 96fda5aab86d15f941c1386379aae4718c2c5131 (diff) | |
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, |
