summaryrefslogtreecommitdiffstats
path: root/tcps_sess.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-19 15:28:25 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-19 15:28:25 +0100
commit4fb7ba113c4d4afd485feb2729c5ff67bc8ddd4a (patch)
treee585d52baf5a7e4323da7f3b893027c38e9ca3d2 /tcps_sess.h
parent7d516b0a6c46177c18aea30b4617f1d2712d48fd (diff)
downloadrsyslog-4fb7ba113c4d4afd485feb2729c5ff67bc8ddd4a.zip
rsyslog-4fb7ba113c4d4afd485feb2729c5ff67bc8ddd4a.tar.gz
rsyslog-4fb7ba113c4d4afd485feb2729c5ff67bc8ddd4a.tar.xz
added configuration directive to disable octet-counted framing
... for imtcp, directive is $InputTCPServerSupportOctetCountedFraming
Diffstat (limited to 'tcps_sess.h')
-rw-r--r--tcps_sess.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcps_sess.h b/tcps_sess.h
index 0799db9..054ce39 100644
--- a/tcps_sess.h
+++ b/tcps_sess.h
@@ -35,7 +35,8 @@ struct tcps_sess_s {
tcpLstnPortList_t *pLstnInfo; /* pointer back to listener info */
netstrm_t *pStrm;
int iMsg; /* index of next char to store in msg */
- int bAtStrtOfFram; /* are we at the very beginning of a new frame? */
+ sbool bAtStrtOfFram; /* are we at the very beginning of a new frame? */
+ sbool bSuppOctetFram; /**< copy from listener, to speed up access */
enum {
eAtStrtFram,
eInOctetCnt,