summaryrefslogtreecommitdiffstats
path: root/runtime/dnscache.h
Commit message (Collapse)AuthorAgeFilesLines
* optimze: reduce memory operations during dns resolution/hostname settingRainer Gerhards2013-01-221-1/+1
| | | | | | | | | | previously, hostname and ip strings were shuffled to the msg object, which created a property out of them. Now the cache holds the property, and it is resused (almost) everywhere, what saves a lot of memory operations. The only exception is imtcp session setup, where different handling of the hostname is done, which we need to sort out (but that's another story).
* optimize: move lowercasing of hostnames to cacheRainer Gerhards2013-01-241-1/+1
| | | | so we save this on each name lookup!
* optimize: have dns cache pre-create rsyslog prop_t'sRainer Gerhards2013-01-241-1/+1
|
* optimize: reduce nbr of strcpy() in FROMHOST processingRainer Gerhards2013-01-181-2/+2
|
* dns chache: added some more error instrumentationRainer Gerhards2012-02-061-16/+14
|
* Merge branch 'v5-stable' into masterRainer Gerhards2012-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.h configure.ac doc/manual.html plugins/immark/immark.c plugins/impstats/impstats.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c runtime/cfsysline.c runtime/cfsysline.h runtime/conf.c runtime/ctok.c runtime/ctok.h runtime/ctok_token.c runtime/ctok_token.h runtime/dnscache.h runtime/expr.c runtime/expr.h runtime/rule.c runtime/rule.h runtime/ruleset.h runtime/sysvar.c runtime/vm.h runtime/vmop.c runtime/vmop.h runtime/vmprg.c runtime/vmprg.h runtime/vmstk.c runtime/vmstk.h tools/omusrmsg.c
* added a first implementation of a DNS name cacheRainer Gerhards2011-06-061-0/+31
this still has a couple of weaknesses, like no size limit, no expiration of entries, suboptimal algorithms -- but it should perform better than what we had previously. Implementation will be improved based on feedback during the next couple of releases