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
807 stars 82 forks source link

http/bit: refactor to try bitwise operators in 5.3+ #180

Closed daurnimator closed 3 years ago

daurnimator commented 3 years ago

Rather than only attempt in Lua 5.3. This improves Lua 5.4 compatibility.

Supercedes #177

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.004%) to 87.785% when pulling c82de0399b1bd6e55e04b00ee17bb8bdb2c4cbc1 on lua-5.4-bitwise into b2f152df6d2e943eaa009acbe13e2d1ae6ace976 on master.