diff options
author | Grzegorz Nosek <root@localdomain.pl> | 2008-05-05 22:06:18 +0200 |
---|---|---|
committer | Grzegorz Nosek <root@localdomain.pl> | 2008-05-05 22:06:18 +0200 |
commit | e56b2b351454f05a74765453ef13fc0ac7a2ff68 (patch) | |
tree | 5a698fad7a7b2faa590994e9e92a3da90611843b | |
parent | ad0e571db068aedf4dda7e08d5d85a06a3b95192 (diff) | |
download | fcgiwrap-e56b2b351454f05a74765453ef13fc0ac7a2ff68.tar.xz fcgiwrap-e56b2b351454f05a74765453ef13fc0ac7a2ff68.zip |
Fix CR/LF mangling to skip response body
-rw-r--r-- | fcgiwrap.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 { |