From: Vsevolod Stakhov Date: Sat, 5 Apr 2014 23:53:59 +0000 (-0700) Subject: Update method from http parser to http message. X-Git-Tag: 0.7.0~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90feb3d402c0aae52b37c0b05ed8ba77ec0ef5c9;p=thirdparty%2Frspamd.git Update method from http parser to http message. --- diff --git a/src/http.c b/src/http.c index c82237b50d..7184b11930 100644 --- a/src/http.c +++ b/src/http.c @@ -437,6 +437,8 @@ rspamd_http_on_headers_complete (http_parser* parser) priv->msg->body = g_string_sized_new (BUFSIZ); } + priv->msg->method = parser->method; + return 0; }