Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move closefrom() to before first malloc.
When built against tcmalloc, tcmalloc allocates a descriptor for its internal use, so calling closefrom() afterward causes the descriptor number to be reused resulting in a corrupted connection. Moving the closefrom a little earlier should resolve this. From kircherlike at outlook.com via bz#3321, ok djm@
- Loading branch information