Skip to content

Commit a7fa4f7

Browse files
committed
Flow handling fix.
1 parent 8301c1a commit a7fa4f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/transfer.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ bool handleNetPerfMeterData(const bool isActiveMode,
325325
}
326326
flow->unlock();
327327
flow->endOfInput();
328+
return flow->isAcceptedIncomingFlow(); // No error for incoming flow!
328329
}
329330
else {
330331
LOG_WARNING
@@ -335,7 +336,7 @@ bool handleNetPerfMeterData(const bool isActiveMode,
335336
if(protocol != IPPROTO_UDP) {
336337
ext_shutdown(sd, SHUT_RDWR);
337338
}
338-
return flow->isAcceptedIncomingFlow(); // No error for incoming flow!
339+
return false;
339340
}
340341

341342
return true;

0 commit comments

Comments
 (0)