diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-05 16:53:59 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-05 16:53:59 -0700 |
commit | 90feb3d402c0aae52b37c0b05ed8ba77ec0ef5c9 (patch) | |
tree | 377162d03ebbb4d16065a1303a4bb1fa566e7309 | |
parent | b0cf7219c17141d5bc8d4040abce89b11dde8cf2 (diff) | |
download | rspamd-90feb3d402c0aae52b37c0b05ed8ba77ec0ef5c9.tar.gz rspamd-90feb3d402c0aae52b37c0b05ed8ba77ec0ef5c9.zip |
Update method from http parser to http message.
-rw-r--r-- | src/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c index c82237b50..7184b1193 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; } |