| CODENOTIFIER | HelpYou are not signed inSign in |
Project: DBSlayer
Revision: 65
Author: dgottfrid
Date: 28 Mar 2008 18:52:46
Changes:set a reasonable listen queue size - up from 3 to 128
Files:| ... | ...@@ -89,7 +89,7 @@ | |
| 89 | 89 | fprintf(stderr,"couldn't bind to %s:%d\n",server->hostname ? server->hostname: "*", server->port); |
| 90 | 90 | exit(-1); |
| 91 | 91 | } |
| 92 | status = apr_socket_listen(conn,3); | |
| 92 | status = apr_socket_listen(conn,128); | |
| 93 | 93 | status = apr_pollset_create(&pollset,sizeof(connections)/sizeof(slayer_http_connection_t*) +1 /* +1 for listenting socket */,server->mpool,0); |
| 94 | 94 | memset(connections,0,sizeof(connections) ); |
| 95 | 95 | pfd_listen.p = server->mpool; |