daurnimator / lua-http

HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
https://daurnimator.github.io/lua-http/
MIT License
795 stars 81 forks source link

websocket objects don't expose :pollfd() and friends #136

Open cmtptr opened 5 years ago

cmtptr commented 5 years ago

You can't cqueues.poll() on a websocket object because it doesn't expose the cqueues pollobj interfaces.

daurnimator commented 5 years ago

Reading through the code, I think they are unimplemented as it's not clear how they should interact with :connect and :accept which don't have a pollable implementation.