Gregory Nutt
|
a569006fd8
sched/: Make more naming consistent
|
4 years ago |
Xiang Xiao
|
5c80b94820
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
|
4 years ago |
Xiang Xiao
|
5c5c08efcd
network: simplify the timeout process logic
|
4 years ago |
Xiang Xiao
|
6a3c2aded6
Fix wait loop and void cast (#24)
|
4 years ago |
Xiang Xiao
|
90c52e6f8f
Squashed commit of the following:
|
4 years ago |
Gregory Nutt
|
3b275fcf4e
net/: Run nxstyle against all C files.
|
5 years ago |
Gregory Nutt
|
124212624d
net: Minor fix in error checking in TCP/UDP Tx drain logic
|
5 years ago |
Gregory Nutt
|
361d85ae35
net/tcp and udp: Fix errors in the new implementation of SO_LINGER. The tcp_drain() and udp_drain() functions were casting the working argument to the wrong type, resulting in hangs and abnormal behavior. There is a complexity in the tcp drain logic when the remote peer closes the socket before all Tx data has been flushed. Sometimes we are not notified of this case and wait the entire timeout unnecessarily. There is a workaround in place in tcp_txdrain(), but this really should be revisited.
|
5 years ago |
Gregory Nutt
|
de5a6163d5
This commit implements a proper version of SO_LINGER. Not sufficiently tested on initial commit.
|
5 years ago |