diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-28 15:17:42 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-28 15:17:42 +0400 |
commit | e1803284cd6e5c86772b298fd203b64c9e090351 (patch) | |
tree | 68294e305afa0b744e369b9b99d9b55615193b23 | |
parent | 7ed8ac7bcb54df908bd4a5f8b915ec1fdc483ac7 (diff) | |
download | rspamd-e1803284cd6e5c86772b298fd203b64c9e090351.tar.gz rspamd-e1803284cd6e5c86772b298fd203b64c9e090351.zip |
* Fix initializing of http reply structure to avoid core dumps when we got connection errors
-rw-r--r-- | src/map.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -676,6 +676,7 @@ http_callback (int fd, short what, void *ud) cbd->data = data; cbd->state = 0; cbd->fd = sock; + cbd->reply = NULL; event_add (&cbd->ev, &cbd->tv); } } |