https://github.com/warmcat/libwebsockets/commit/6ff28248aadc12b971d13b212587e63b49a4653f#commitcomment-8861797

--