Add support for droping packets when using TCP and the bandwidth is too slow for...
commit9497d78fb13d1d2648dea0211b06c8fd79435e03
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Thu, 11 Jun 2009 18:07:54 +0000 (11 14:07 -0400)
committerYouness Alaoui <youness.alaoui@collabora.co.uk>
Thu, 11 Jun 2009 18:07:54 +0000 (11 14:07 -0400)
tree1eda7b0cfcc6a9e9796967c488bd08337e11295d
parentfa38c1ad3533b3e6f1096bdf7e833ba2e9160531
Add support for droping packets when using TCP and the bandwidth is too slow for the data output. The queue now has a limit of 20 packets and the tcp-turn now has to call send in a single shot to avoid dropping parts of the packet (dropping the length but send the data, or dropping only the padding at the end, etc..)
TODO
socket/tcp-bsd.c
socket/tcp-turn.c