Subject: [PATCH] Fix for close ack sending
authorAndrejs Hanins <ahanins@gmail.com>
Fri, 6 Nov 2015 16:18:32 +0000 (18:18 +0200)
committerAndy Green <andy.green@linaro.org>
Fri, 6 Nov 2015 23:04:46 +0000 (07:04 +0800)
commit140ac6e9cb0965bd7aea7f37a19c3a68ed7b5e7d
treec8ac5a0d9ed8a7db5d49b7f7f6ce7ddab500d1c3
parent79a3c5d4253dc56ca5e9a7acfad58ac9372b418c
Subject: [PATCH] Fix for close ack sending

It was forgotten in two places that pending close ack should be
processed when wsi state is WSI_STATE_RETURNED_CLOSE_ALREADY, but
not WSI_STATE_ESTABLISHED. As a result, close ack wasn't sent out
to the peer.
lib/output.c
lib/service.c