Parent Directory | Revision Log | Patch
revision 1.21 by nmav, Wed Oct 2 09:14:16 2002 UTC | revision 1.22 by nmav, Wed Oct 2 19:26:15 2002 UTC | |
---|---|---|
# | Line 266 void get_request(server_params* params, | Line 266 void get_request(server_params* params, |
266 | ||
267 | ||
268 | #ifndef NO_RATE_LIMIT | #ifndef NO_RATE_LIMIT |
269 | if (conn->fd > max_connections) { | /* We use the fact the file descriptors are |
270 | * assigned sequentialy. | |
271 | */ | |
272 | if (conn->fd > max_connections - 10) { | |
273 | send_r_service_unavailable(conn); | send_r_service_unavailable(conn); |
274 | conn->status = DONE; | conn->status = DONE; |
275 | server_s->pending_requests = 0; | server_s->pending_requests = 0; |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |