Commit e6388e8bb011f91be2ecfbc8a4e2ae547d1123ea
1 parent
085e0572
add flush_wait to be sure that no message left in the send queue
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
net_services/CXM_generic_protocol.anubis
| @@ -275,6 +275,7 @@ public define Bool | @@ -275,6 +275,7 @@ public define Bool | ||
| 275 | success(source) then | 275 | success(source) then |
| 276 | println("NET_SERVICE send_file_ref send ack file size "+size); | 276 | println("NET_SERVICE send_file_ref send ack file size "+size); |
| 277 | send_ACK_ok(mQ, _CXM_GET_FILE_REF, msg); | 277 | send_ACK_ok(mQ, _CXM_GET_FILE_REF, msg); |
| 278 | + mQ.flush_wait(unique); | ||
| 278 | if copy_file_to_Connection(file(source), mQ.get_connection(unique), size) is | 279 | if copy_file_to_Connection(file(source), mQ.get_connection(unique), size) is |
| 279 | { | 280 | { |
| 280 | failure then println("NET_SERVICE send_file_ref copy_file_to_Connection error");false, | 281 | failure then println("NET_SERVICE send_file_ref copy_file_to_Connection error");false, |