bug16288 396 B

123456
  1. o Major bugfixes (open file limit):
  2. - The max open file limit wasn't checked before calling
  3. tor_accept_socket_nonblocking() which made tor go beyond the open
  4. file limit set previously. With this fix, before opening a new socket,
  5. tor validates the open file limit just before and if the max has been
  6. reached, return EMFILE. Fixes bug 16288; bugfix on 0.1.1.1-alpha.