diff options
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c index fe9621e21..ebca96bc7 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -582,8 +582,10 @@ parse_header (struct worker_task *task, f_str_t * line) } break; default: - msg_info ("wrong header: %s", headern); - return FALSE; + if (!task->is_http) { + msg_info ("wrong header: %s", headern); + return FALSE; + } } return TRUE; |