summaryrefslogtreecommitdiffstats
path: root/runtime/nsdsel_gtls.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-25 08:30:01 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-25 08:30:01 +0200
commitc01daffb9493641bdcb07eb60410c24c0613ed93 (patch)
tree5610c91554bfc850cfb83e92e799298e758894fd /runtime/nsdsel_gtls.c
parent8ffbe7ba86a59565f11addefa2bf73c6780803e1 (diff)
downloadrsyslog-c01daffb9493641bdcb07eb60410c24c0613ed93.tar.gz
rsyslog-c01daffb9493641bdcb07eb60410c24c0613ed93.tar.xz
rsyslog-c01daffb9493641bdcb07eb60410c24c0613ed93.zip
fixed invalid state checking inside gtls retry handler
Diffstat (limited to 'runtime/nsdsel_gtls.c')
-rw-r--r--runtime/nsdsel_gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/nsdsel_gtls.c b/runtime/nsdsel_gtls.c
index 90117d6c..81b90a62 100644
--- a/runtime/nsdsel_gtls.c
+++ b/runtime/nsdsel_gtls.c
@@ -173,7 +173,7 @@ doRetry(nsd_gtls_t *pNsd)
*/
finalize_it:
- if(iRet != RS_RET_OK)
+ if(iRet != RS_RET_OK && iRet != RS_RET_CLOSED && iRet != RS_RET_RETRY)
pNsd->bAbortConn = 1; /* request abort */
RETiRet;
}