elnormous / HTTPRequest

Single-header C++ HTTP request class
The Unlicense
942 stars 213 forks source link

What is the reason for handling interrupted system calls (EINTR) throughout the code? #69

Open shlomnissan opened 1 year ago

shlomnissan commented 1 year ago

I noticed that you are checking for EINTR across all socket functions. Can you explain why? As far as I understand, in order for a system call to be interrupted, the following conditions must be met: