projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0917ca
)
log a message when continuing once sleep time is over
author
Yang Tse
<yangsita@gmail.com>
Tue, 22 Dec 2009 13:45:01 +0000
(13:45 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 22 Dec 2009 13:45:01 +0000
(13:45 +0000)
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index
5970f47
..
5f89002
100644
(file)
--- a/
tests/server/sws.c
+++ b/
tests/server/sws.c
@@
-975,15
+975,17
@@
static int send_doc(curl_socket_t sock, struct httprequest *req)
quarters--;
res = wait_ms(250);
if(got_exit_signal)
-
quarters = 0
;
+
break
;
if(res) {
/* should not happen */
error = SOCKERRNO;
logmsg("wait_ms() failed with error: (%d) %s",
error, strerror(error));
-
quarters = 0
;
+
break
;
}
}
+ if(!quarters)
+ logmsg("Continuing after sleeping %d seconds", num);
}
else
logmsg("Unknown command in reply command section");