luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

Adds support for http request timeout #223

Closed SinisterRectus closed 7 years ago

SinisterRectus commented 7 years ago

Re: #216

coro-net.connect supports timeouts, so this is just a matter of passing the argument along from coro-http.request. There's no request handle like there is with luvit, so I guess this is the best way to do it.