From 3decfe60abf498cb88dfbaa6f6fd1524308f2de3 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 15 Dec 2015 19:46:28 +0800 Subject: [PATCH] mbed3 use new upstream mbed3 nagle disable Signed-off-by: Andy Green --- lib/lws-plat-mbed3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lws-plat-mbed3.cpp b/lib/lws-plat-mbed3.cpp index 70a76e0d..f213d297 100644 --- a/lib/lws-plat-mbed3.cpp +++ b/lib/lws-plat-mbed3.cpp @@ -196,6 +196,8 @@ void lws_conn_listener::onIncoming(TCPListener *tl, void *impl) if (!conn->ts) return; + conn->ts->setNagle(0); + /* * we use the listen socket wsi to get started, but a new wsi is * created. mbed3_tcp_stream_accept() is also called from