From 1bc3337f004712e791abedeae8b08b2b9bd83e90 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 12 Mar 2008 14:50:35 +0000 Subject: improved session recovery when outbound tcp connection breaks, reduces probability of message loss at the price of a highly unlikely potential (single) message duplication --- tcpclt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcpclt.h') diff --git a/tcpclt.h b/tcpclt.h index 9f1f4c5f..d2f1fe02 100644 --- a/tcpclt.h +++ b/tcpclt.h @@ -33,6 +33,8 @@ typedef struct tcpclt_s { BEGINobjInstance; /**< Data to implement generic object - MUST be the first data element! */ TCPFRAMINGMODE tcp_framing; + char *prevMsg; + size_t lenPrevMsg; /* session specific callbacks */ rsRetVal (*initFunc)(void*); rsRetVal (*sendFunc)(void*, char*, size_t); -- cgit