summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/omfwd.c b/omfwd.c
index e54a1fad..521d0597 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -475,6 +475,17 @@ CODESTARTparseSelectorAct
ENDparseSelectorAct
+BEGINgetWriteFDForSelect
+CODESTARTgetWriteFDForSelect
+ if( (f->f_type == F_FORW)
+ && (f->f_un.f_forw.protocol == FORW_TCP)
+ && TCPSendGetStatus(f) == TCP_SEND_CONNECTING) {
+ *fd = f->f_file;
+ iRet = RS_RET_OK;
+ }
+ENDgetWriteFDForSelect
+
+
BEGINqueryEtryPt
CODESTARTqueryEtryPt
CODEqueryEtryPt_STD_OMOD_QUERIES