extend/cowboy — pull request #436 by fishcakez (2013-02-17 01:04:58+00:00)
Title: Loop handler can hibernate and immediately awaken

If a loop handler sends a response and then immediately hibernates the {cowboy_req, resp_sent} message is in its message queue. This means the process is woken up immediately. Should flush for this message before hibernation.