ARMmbed / sal-stack-lwip

LwIP package for mbed
Other
4 stars 14 forks source link

Add a workaround for outputting tcp buffers #47

Closed bremoran closed 8 years ago

bremoran commented 8 years ago

When Nagle is disabled, TCP buffers should send immediately, however calling tcp_output introduces a race condition since all buffer processing is done in IRQ context.

This change uses https://github.com/ARMmbed/sal-driver-lwip-k64f-eth/pull/10 to push tcp pbuf’s in IRQ context.

Fixes #46 Fixes https://github.com/ARMmbed/sockets/issues/41

cc @bogdanm

bremoran commented 8 years ago

cc @bogdanm

bremoran commented 8 years ago

cc @Patater

bremoran commented 8 years ago

cc @AlessandroA

Patater commented 8 years ago

Add why this requires v1.0.3 of sal-driver-lwip-k64f-eth in the commit message.

bogdanm commented 8 years ago

+1