http: replace EVHTTP_REQ_UNKNOWN_ with 0
authorAzat Khuzhin <azat@libevent.org>
Mon, 8 Apr 2019 19:27:33 +0000 (22:27 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 9 Apr 2019 21:51:27 +0000 (00:51 +0300)
commit799053db8a2fc0b185769a1cb7b41b46634ed1de
tree85c714bf29c547e757fc241285dbf292dfcc18bd
parent55f9863b18fe21ddd220d98941b7ac777593dde5
http: replace EVHTTP_REQ_UNKNOWN_ with 0

From the server perspective the evhttp_response_phrase_internal() should
not be called with 0 before this patch, it will be called with
EVHTTP_REQ_UNKNOWN_ hence this patch should not change behavior.

Fixes: 68eb526d7b ("http: add WebDAV methods support")
Fixes: #789
Fixes: #796
Reported-by: Thomas Bernard <miniupnp@free.fr>
http-internal.h
http.c