rspivak / lsbaws

Let's Build A Web Server
MIT License
657 stars 304 forks source link

a simple question #5

Open zhyhooo opened 8 years ago

zhyhooo commented 8 years ago

Hi, thanks for the series. I spend this weekend reading these articles and really enjoy them. But I am so confused that why 'os._exit(0)' should be in the for loop. Does it mean immediately exit the child process after the first connection?

tirmisula commented 7 years ago

Same confusion in client3.py, it breaks the loop and connection_num printed is always zero.