lua-http icon indicating copy to clipboard operation
lua-http copied to clipboard

HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.

Results 60 lua-http issues
Sort by recently updated
recently updated
newest added

I've ran into an issue where sending requests with `request.version = 2` leads to an ETIMEDOUT even though the server receives the request properly. After inspecting the state of the...

We use Freeswitch stack with 4000 channels to send IVR calls. The logic is written in Lua. We need to send a POST request whenever a call gets picked up....

This is more an educated guess as to why #140 exists combined with some pattern matching, than a well-researched, proof-backed solution. But it does fix a service I maintain that...

Or provide an example of using `http.client` to communicate with a Unix socket.

enhancement
good-first-issue
question

This is probably a known issue, but there is not clear doc on how to do that correctly: With `lua 5.3` from brew, the install command that succeeds on my...

Hi there - this is for issue #179 - it just adds a test case for what (I think) the expected behavior is - if a connection has received a...

I'm using lua-http to talk to Apples's push servers. My code can be found here: https://github.com/tmolitor-stud-tu/mod_push_appserver/blob/master/mod_push_appserver_apns/mod_push_appserver_apns.lua#L98 When the `HTTP/2` connection to Apple is idle for a long time (> ~15...

bug

This happens when receiving payloads from the websocket. ``` Shard-0 has stopped receiving: ("/usr/local/share/lua/5.3/http/websocket.lua:282: read: Connection timed out\ stack traceback:\ \9[C]: in function 'assert'\ \9/usr/local/share/lua/5.3/http/websocket.lua:282: in function 'http.websocket.read_frame'\ \9/usr/local/share/lua/5.3/http/websocket.lua:394: in...

https://daniel.haxx.se/blog/2020/02/27/expect-tweaks-in-curl/ > Starting in curl 7.69.0 (due to ship on March 4, 2020) we catch up a little with the world around us and now libcurl will only automatically set...

enhancement
good-first-issue

the use of [debug](https://www.lua.org/manual/5.4/manual.html#6.10) library could be not safe. this commit protects two calls of `debug` there are two other occurences of `debug`: - in [http/util/lua](https://github.com/daurnimator/lua-http/blob/master/http/util.lua#L244), which concerns only PUC...