144:4b546c4f25ed | 145:1c93281ca4bf |
---|---|
385 &length); | 385 &length); |
386 if (clientfd == -1) { | 386 if (clientfd == -1) { |
387 perror("Error: acceptor_thread: accept"); | 387 perror("Error: acceptor_thread: accept"); |
388 continue; | 388 continue; |
389 } | 389 } |
390 | 390 |
391 // check listener | 391 // check listener |
392 HttpListener *ls = listener; | 392 HttpListener *ls = listener; |
393 int acceptor_exit = 0; | 393 int acceptor_exit = 0; |
394 while(ls->next) { | 394 while(ls->next) { |
395 ls = ls->next; | 395 ls = ls->next; |