Commit 1db54ff1 authored by venaas's avatar venaas Committed by venaas

improved debug output, and removed a small probably needless delay

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@104 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 4bd196ed
......@@ -740,7 +740,7 @@ void sendreply(struct client *to, unsigned char *buf, struct sockaddr_storage *t
replyq->count++;
if (replyq->count == 1) {
debug(DBG_DBG, "signalling client writer");
debug(DBG_DBG, "signalling server writer");
pthread_cond_signal(&replyq->count_cond);
}
pthread_mutex_unlock(&replyq->count_mutex);
......@@ -1477,7 +1477,6 @@ void *clientwr(void *arg) {
rq->tries++;
clientradput(server, server->requests[i].buf);
gettimeofday(&lastsend, NULL);
usleep(200000);
}
if (server->statusserver) {
gettimeofday(&now, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment