src/server/daemon/httplistener.c

changeset 101
7fbcdbad0baa
parent 92
382bff43c6eb
child 106
b122f34ddc80
equal deleted inserted replaced
100:e9bb8449df02 101:7fbcdbad0baa
272 &length); 272 &length);
273 if (clientfd == -1) { 273 if (clientfd == -1) {
274 perror("Error: acceptor_thread: accept"); 274 perror("Error: acceptor_thread: accept");
275 continue; 275 continue;
276 } 276 }
277 277
278 // check listener 278 // check listener
279 HttpListener *ls = listener; 279 HttpListener *ls = listener;
280 int acceptor_exit = 0; 280 int acceptor_exit = 0;
281 while(ls->next) { 281 while(ls->next) {
282 ls = ls->next; 282 ls = ls->next;

mercurial