projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: Fix mysql configuration
[paraslash.git]
/
afs.c
diff --git
a/afs.c
b/afs.c
index 0f4cd20e889811a6cbf466ba2e35990915b02e76..6cc58bb44a0cb721691cd9fd6b338b4effbaa5d1 100644
(file)
--- a/
afs.c
+++ b/
afs.c
@@
-452,6
+452,11
@@
void afs_send_chunk(void)
afs_next_chunk_time(&due);
if (tv_diff(&due, &now, NULL) > 0)
return;
afs_next_chunk_time(&due);
if (tv_diff(&due, &now, NULL) > 0)
return;
+ if (chk_barrier("eof", &now, &eof_barrier, &due, 1) < 0)
+ return;
+ if (chk_barrier("data send", &now, &data_send_barrier,
+ &due, 1) < 0)
+ return;
buf = af->read_chunk(mmd->current_chunk, &ret);
mmd->new_afs_status_flags &= ~AFS_REPOS;
if (!buf) {
buf = af->read_chunk(mmd->current_chunk, &ret);
mmd->new_afs_status_flags &= ~AFS_REPOS;
if (!buf) {