commit | b00f9c456c0eadd26abbbf4bb0a3276da9f1844e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Mar 21 22:43:12 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Mar 21 22:43:12 2009 +0100 |
tree | 1f2a90944172ae5714f9472d6ae7bd04a830f876 | |
parent | 06bea9426617699b5bf849c4cc7813572e066f14 [diff] |
[BUG] check for global.maxconn before doing accept() If the accept() is done before checking for global.maxconn, we can accept too many connections and encounter a lack of file descriptors when trying to connect to the server. This is the cause of the "cannot get a server socket" message encountered in debug mode during injections with low timeouts.