zephyr/subsys
Andy Ross 96294b79a7 net: tcp: Signal EOF with a NULL buffer in the callback
TCP didn't actually have a way to signal synchronous receipt of a FIN
packet.  Extend the recv_cb API to allow a NULL buf argument with
status==0 (by analogy to Unix's zero-length read) to signal EOF.

Update docs too, and also echo_server which wasn't prepared to handle
this situation.

Change-Id: I7dc08f9e262a81dcad9c670c6471898889f0b05d
Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2017-01-13 10:29:03 +01:00
..
bluetooth Bluetooth: Fix potential race condition in bt_pub_key_gen() 2017-01-05 14:48:01 +02:00
debug kernel: replace all remaining nanokernel occurances 2016-12-25 14:34:43 -05:00
disk subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00
fs filesystem: add mkdir shell command 2017-01-09 19:47:49 +00:00
logging kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
net net: tcp: Signal EOF with a NULL buffer in the callback 2017-01-13 10:29:03 +01:00
shell shell: add stacks command 2017-01-11 20:47:10 +00:00
usb subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00
Kconfig subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00
Makefile subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00