aboutsummaryrefslogtreecommitdiff
path: root/fcgiwrap.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2008-12-03 21:18:36 +0100
committerFurkan Sahin <furkan-dev@proton.me>2008-12-03 21:18:36 +0100
commita2c3de171c79f97e5ab62273c591c4f98e147ae0 (patch)
treea77327b5850d830e89d866430abb14ba0925fb9b /fcgiwrap.c
parent96fda5aab86d15f941c1386379aae4718c2c5131 (diff)
Don't eat characters after final CR/LF
Diffstat (limited to 'fcgiwrap.c')
-rw-r--r--fcgiwrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fcgiwrap.c b/fcgiwrap.c
index 81de53c..fee22b2 100644
--- a/fcgiwrap.c
+++ b/fcgiwrap.c
@@ -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,