summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fcgiwrap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fcgiwrap.c b/fcgiwrap.c
index c1a19ab..8430bfa 100644
--- a/fcgiwrap.c
+++ b/fcgiwrap.c
@@ -131,6 +131,11 @@ static const unsigned char header_state_machine[REPLY_STATE_MAX][CC_MAX] = {
[CC_CR] = REPLY_STATE_2LF | ACTION_SKIP,
[CC_LF] = REPLY_STATE_2LF | ACTION_SKIP,
},
+ [REPLY_STATE_BODY] = {
+ [CC_NORMAL] = REPLY_STATE_BODY | ACTION_END,
+ [CC_CR] = REPLY_STATE_BODY | ACTION_END,
+ [CC_LF] = REPLY_STATE_BODY | ACTION_END,
+ },
};
struct fcgi_context {