14 Commits

Author SHA1 Message Date
Jan Gerhards
aefa89d3c0 tcps_sess: use new ermsg interface
see also https://github.com/rsyslog/rsyslog/issues/1684
2018-01-15 10:55:34 +01:00
Rainer Gerhards
8cb0a95a38 code style: fix too-long lines 2017-12-23 18:25:37 +01:00
PascalWithopf
a10744ce2a imtcp: include name of action in error msg 2017-08-21 16:02:12 +02:00
PascalWithopf
5132bc32d2 imtcp: framing/size errmsgs contain remote peer
closes https://github.com/rsyslog/rsyslog/issues/1676
2017-07-19 11:58:40 +02:00
Rainer Gerhards
5e27f96554 Merge pull request #1527 from PascalWithopf/imtcpMaxFrame
imtcp: add parameter maxFrameSize
2017-04-26 12:21:01 +02:00
PascalWithopf
08c265d24d imtcp: add new parameter discardTruncatedMsg 2017-04-25 08:54:00 +02:00
PascalWithopf
01feb44bf1 imtcp: add parameter maxFrameSize 2017-04-20 12:58:57 +02:00
purnima
d45daa2af0 Rebase,redefine msgDestruct() as smsg_t is used 2016-11-22 14:24:25 +05:30
Tomas Heinrich
60fab9be00 Fix processing of partial messages over TCP
Commit b0e8ce6c added a new variable to track processing of a single
message split into multiple packets. Several bits of code weren't
ported to the new variable and could cause mishandling.
Messages not terminated by a NL were discarded upon connection
termination.
2016-03-05 23:39:22 +01:00
Rainer Gerhards
844ca49cf5 add sender tracking/stats for imtcp
as well as other inputs that utilize the tcps_sess.c subsystem
2016-02-01 15:50:04 +01:00
Rainer Gerhards
a5b944a2dc bugfix: invalid check for user-configured timezone
The default was never used.
2016-01-27 09:25:36 +01:00
Rainer Gerhards
e8c8e96e27 refactor time-obtaining functions so that the can obtain time in UTC
This works where the time is picked up locally.
2016-01-11 18:52:42 +01:00
Peter Portante
2470f0f72b Remove use of sizeof(char) and sizeof(uchar)
Remove the use sizeof(char) or sizeof(uchar) in calculations for memory
allocation or string length.  There are no known platforms for which
sizeof(char) or sizeof(uchar) is not 1, and c99 has defined sizeof(char)
to be 1 (section 6.5.3.4 of c99).
2015-12-16 02:18:45 +00:00
Rainer Gerhards
4725aa27e7 build system: move some files to subdir
This seems to be necessary to make "make distcheck" work.
2015-05-22 10:20:29 +02:00