[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [ANN] Copas 1.1 Released
- From: "Andre Carregal" <carregal@...>
- Date: Wed, 20 Sep 2006 12:17:59 -0300
Copas is a dispatcher based on coroutines that can be used by TCP/IP
servers. It uses LuaSocket as the interface with the TCP/IP stack.
A server registered with Copas should provide a handler for requests and use
Copas socket functions to send the response. Copas loops through requests
and invokes the corresponding handlers. For a full implementation of a Copas
HTTP server you can refer to Xavante as an example.
Copas 1.1 uses Compat-5.1 Release 5 and includes a new method
copas.addthread() to allow threads to be executed in parallel with other
threads and the registered handlers as long as it uses the Copas socket
Copas is part of the Kepler Project and can be found at
Copas is free software, using the same license as Lua 5.0, and follows the
package proposal for Lua 5.1 (using Compat-5.1).
Any comments and feedback are welcome.