diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2008-05-05 22:06:18 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2008-05-05 22:06:18 +0200 |
| commit | 5a217e4f2276a8393c392a558ac6a8863752a750 (patch) | |
| tree | 5a698fad7a7b2faa590994e9e92a3da90611843b /fcgiwrap.c | |
| parent | 72573aa33af3b920f80d5a76beacf681f9a4976a (diff) | |
Fix CR/LF mangling to skip response body
Diffstat (limited to 'fcgiwrap.c')
| -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 { |
