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