improved debug output, and removed a small probably needless delay
authorvenaas <venaas>
Thu, 24 May 2007 09:02:16 +0000 (09:02 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Thu, 24 May 2007 09:02:16 +0000 (09:02 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@104 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index b90ddbb..01d6927 100644 (file)
@@ -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);