Changeset 79eb6e21 in rtems
- Timestamp:
- 03/07/06 21:37:35 (18 years ago)
- Children:
- 5b07faf
- Parents:
- 5b78cd6
- Location:
- c/src/libnetworking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libnetworking/ChangeLog
r5b78cd6 r79eb6e21 1 2006-03-07 Paul Whitfield <paulw@omnitronics.com.au> 2 3 PR 843/rtems_misc 4 * rtems_webserver/socket.c: There is a memory corruption problem in the 5 selectSocket function in the web server, this only become apparent if 6 you disable the built in memory allocation functions. I have disabled 7 the internal memory management to get file upload working. 8 1 9 2006-02-08 Thomas Rauscher <trauscher@loytec.com> 2 10 -
c/src/libnetworking/rtems_webserver/socket.c
r5b78cd6 r79eb6e21 603 603 */ 604 604 605 #if WIN || CE 605 #if WIN || CE || __rtems__ 606 606 607 607 int socketSelect(int sid, int timeout) … … 611 611 fd_set readFds, writeFds, exceptFds; 612 612 int nEvents; 613 int all, socketHighestFd; /* Highest socket fd opened */ 613 int all; 614 #if WIN || CE 615 int socketHighestFd; /* Highest socket fd opened */ 616 socketHighestFd = -1; 617 #endif 614 618 615 619 FD_ZERO(&readFds); 616 620 FD_ZERO(&writeFds); 617 621 FD_ZERO(&exceptFds); 618 socketHighestFd = -1; 622 619 623 620 624 tv.tv_sec = timeout / 1000; … … 660 664 } 661 665 666 #if WIN || CE 662 667 /* 663 668 * Windows select() fails if no descriptors are set, instead of just sleeping … … 668 673 return 0; 669 674 } 670 675 #endif 676 671 677 /* 672 678 * Wait for the event or a timeout.
Note: See TracChangeset
for help on using the changeset viewer.