Skip to content

Commit

Permalink
release 4.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Mar 9, 2024
1 parent 49dc63b commit 95f5875
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © 2005-2013 Kepler Project, 2015-2023 Thijs Schreijer.
Copyright © 2005-2013 Kepler Project, 2015-2024 Thijs Schreijer.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2><a name="over"></a>Overview</h2>

<h2><a name="status"></a>Status</h2>

<p>Current version is 4.7.0 and was developed for Lua 5.1 to 5.4.</p>
<p>Current version is 4.7.1 and was developed for Lua 5.1 to 5.4.</p>

<h2><a name="download"></a>Download</h2>

Expand All @@ -100,7 +100,7 @@ <h2><a name="dependencies"></a>Dependencies</h2>
<h2><a name="history"></a>History</h2>

<dl class="history">
<dt><strong>Copas 4.7.x</strong> [unreleased]</dt>
<dt><strong>Copas 4.7.1</strong> [9/Mar/2024]</dt>
<dd><ul>
<li>Fix: <code>copas.removethread</code> would not remove a sleeping thread immediately (it would not execute, but
would prevent the Copas loop from exiting until the timer expired).</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1>License</h1>
</p>

<hr />
<p>Copyright &copy; 2005-2013 Kepler Project, 2015-2023 Thijs Schreijer.</p>
<p>Copyright &copy; 2005-2013 Kepler Project, 2015-2024 Thijs Schreijer.</p>
<p>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
56 changes: 56 additions & 0 deletions rockspec/copas-4.7.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
local package_name = "copas"
local package_version = "4.7.1"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name


package = package_name
version = package_version.."-"..rockspec_revision
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = (package_version == "cvs") and "master" or nil,
tag = (package_version ~= "cvs") and package_version or nil,
}
description = {
summary = "Coroutine Oriented Portable Asynchronous Services",
detailed = [[
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.
]],
license = "MIT/X11",
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
}
dependencies = {
"lua >= 5.1, < 5.5",
"luasocket >= 2.1, <= 3.0rc1-2",
"coxpcall >= 1.14",
"binaryheap >= 0.4",
"timerwheel ~> 1",
}
build = {
type = "builtin",
install = {
bin = {
copas = "bin/copas.lua",
}
},
modules = {
["copas"] = "src/copas.lua",
["copas.http"] = "src/copas/http.lua",
["copas.ftp"] = "src/copas/ftp.lua",
["copas.smtp"] = "src/copas/smtp.lua",
["copas.timer"] = "src/copas/timer.lua",
["copas.lock"] = "src/copas/lock.lua",
["copas.semaphore"] = "src/copas/semaphore.lua",
["copas.queue"] = "src/copas/queue.lua",
},
copy_directories = {
"docs",
},
}
6 changes: 3 additions & 3 deletions src/copas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Contributors: Diego Nehab, Mike Pall, David Burgess, Leonardo Godinho,
-- Thomas Harning Jr., and Gary NG
--
-- Copyright 2005-2013 - Kepler Project (www.keplerproject.org), 2015-2023 Thijs Schreijer
-- Copyright 2005-2013 - Kepler Project (www.keplerproject.org), 2015-2024 Thijs Schreijer
--
-- $Id: copas.lua,v 1.37 2009/04/07 22:09:52 carregal Exp $
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -116,9 +116,9 @@ end


-- Meta information is public even if beginning with an "_"
copas._COPYRIGHT = "Copyright (C) 2005-2013 Kepler Project, 2015-2023 Thijs Schreijer"
copas._COPYRIGHT = "Copyright (C) 2005-2013 Kepler Project, 2015-2024 Thijs Schreijer"
copas._DESCRIPTION = "Coroutine Oriented Portable Asynchronous Services"
copas._VERSION = "Copas 4.7.0"
copas._VERSION = "Copas 4.7.1"

-- Close the socket associated with the current connection after the handler finishes
copas.autoclose = true
Expand Down

0 comments on commit 95f5875

Please sign in to comment.