[core] stay in CON_STATE_CLOSE until done with req
commitcb468d333cd029b7b7463a17409e16ebf01f5711
authorGlenn Strauss <gstrauss@gluelogic.com>
Wed, 20 Jul 2016 09:43:39 +0000 (20 05:43 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Wed, 20 Jul 2016 09:43:39 +0000 (20 05:43 -0400)
treec594813699bfb8c2ea3bf3cf1127b7ecf7a4eac1
parent78c79ead4a1d64f9c950c3e8cb15cf3dd976b39a
[core] stay in CON_STATE_CLOSE until done with req

Do not switch to CON_STATE_ERROR upon idle timeout if already in
CON_STATE_CLOSE.  Changing to CON_STATE_ERROR might keep resetting
con->close_timeout_ts if repeated calls to shutdown() succeed.
src/server.c