lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Would be nice if the project could be resimplified to avoid the dependencies on binaryheap and timerwheel.

Appreciate the desire to add efficiency, scalability and so on, but given that LuaSocket and Copas still seem to be tied to select(), I’m not sure that’s terribly useful.

On 29 Jul 2022, at 18:10, Thijs Schreijer <> wrote:


I’m happy to announce the release of Copas 4.0.0.

Copas is a dispatcher based on coroutines that can be used for asynchroneous networking. For example TCP or UDP based servers. But it also features timers and client support for http(s), ftp and smtp requests.

This release has some fixes that have minimal changed behaviour, hence the decision to make it a major version. And since it is a major, some additional breaking changes were made.

Most notably:
- the “limitset” has been removed and replaced with a “queue”. The latter 
  is a more generic form that can do the same things.

The release also contains some important bug fixes that caused unpredictable
behaviour (see the “autoclose” change in the changelog). So upgrading is encouraged.

Full details are in the changelog, read carefully.

As always installing via LuaRocks is easiest.

Source and docs are on Github;