Changes in uspace/app/websrv/websrv.c [9c3bba0:ae481e0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/websrv/websrv.c
r9c3bba0 rae481e0 49 49 50 50 #define PORT_NUMBER 8080 51 #define BACKLOG_SIZE 3 51 52 52 53 #define WEB_ROOT "/data/web" … … 275 276 } 276 277 277 rc = listen(listen_sd, 1);278 rc = listen(listen_sd, BACKLOG_SIZE); 278 279 if (rc != EOK) { 279 280 printf("Error calling listen() (%d).\n", rc); … … 304 305 if (rc != EOK) { 305 306 printf("Error closing connection socket: %d\n", rc); 307 closesocket(listen_sd); 306 308 return 1; 307 309 }
Note:
See TracChangeset
for help on using the changeset viewer.