http: implement stack shutdown flag
commitbd542135ce221aadf3af40017f2fac4f9c6d15c9
authorStefan Becker <chemobejk@gmail.com>
Wed, 17 Apr 2013 17:58:17 +0000 (17 20:58 +0300)
committerStefan Becker <chemobejk@gmail.com>
Wed, 17 Apr 2013 17:58:17 +0000 (17 20:58 +0300)
tree0736afb3f763fe1f82af7fbb3a793aab9fd44d7a
parent9c5007b6fdc1e393cf6f83724f0124edb088e79a
http: implement stack shutdown flag

Don't accept new HTTP connections/requests during HTTP stack shutdown.
This shouldn't happen and indicates that some HTTP response callback
isn't correctly checking for an aborted request.

This prevents SIPE from crashing.
src/core/sipe-http-request.c
src/core/sipe-http-transport.c
src/core/sipe-http-transport.h