diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-19 18:17:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-19 18:17:23 +0000 |
commit | befc37ada0b901ad7c315e4089976508396d496b (patch) | |
tree | 44818265dc09577601c19bf81b3576109f31a534 /nuttx/TODO | |
parent | 6f5479c267e1ed09e85461464ae73b4cbfd3d486 (diff) | |
download | px4-nuttx-befc37ada0b901ad7c315e4089976508396d496b.tar.gz px4-nuttx-befc37ada0b901ad7c315e4089976508396d496b.tar.bz2 px4-nuttx-befc37ada0b901ad7c315e4089976508396d496b.zip |
uIP webserver now uses listen/accept
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@386 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/TODO')
-rw-r--r-- | nuttx/TODO | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/nuttx/TODO b/nuttx/TODO index 28b64ece8..ec53fd2a9 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -31,21 +31,14 @@ o C++ Support o Network - Did not implement send() and sendto() timeouts. Option is setable via setsockopt, but is not implemented. -- netutils/webserver netutils/telnetd (and maybe others) are seriously broken. +- netutils/telnetd (and maybe others) are seriously broken. Need to be re-written to use listen() and accept() - Should implement SOCK_RAW -- listen() and accept() are untested. - accept() and recvfrom() need to return connection address - Performance Improvements (uIP is not very fast): -- Improve performance by queing TX operations - Add simple buffer management. CONFIG_NET_BUFFERS - (1) On write, queue buffer for output get a new buffer for the socket (waiting if - nececcesary - (2) Copy buffer structure into uip_driver_structure when driver requests write - data - (3) Extra read buffers will be necessary to buffer TCP data when there is no recv - in place to accept the data. At present, received data is not ACKed, but is - eventually lost in this case. +- Extra read buffers will be necessary to buffer TCP data when there is no recv + in place to accept the data. At present, received data is not ACKed, but is + eventually lost in this case. - Improve performance by stimulating the driver to accept new TX data before the next polling interval. @@ -57,7 +50,11 @@ o Network poll on TCP connections connect on the network supported by the driver; UDP polling should respond with TX data only if the UDP packet is intended for the the network supported by the driver. - (2) If there were multiple drivers, polling would occur at double the rate. + (2) If there were multiple drivers, polling would occur at double the rate.i + Fix by using bound IP address in TCP connection (lipaddr) and verifying that it + is in the subnet served by the driver. +- uIP/Socket callback logic is not thread safe. This means that a socket cannot be + used concurrently by two threads. Minimal fix: Add mutex to support exclusion. o USB - Implement USB device support |