Mercurial Hosting > luan
diff src/luan/modules/http/jetty/Http.luan @ 1159:3ef883468fd0
remove Http.per_session_pages
fix clone closure bug
replace Thread.global with Thread.global_callable()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 05 Feb 2018 12:37:59 -0700 |
parents | 267fdf5e9fbd |
children | 4beabb087be6 |
line wrap: on
line diff
--- a/src/luan/modules/http/jetty/Http.luan Mon Feb 05 10:04:07 2018 -0700 +++ b/src/luan/modules/http/jetty/Http.luan Mon Feb 05 12:37:59 2018 -0700 @@ -140,17 +140,6 @@ -- response = new_response{} -- filled in by HttpServicer -Http.per_session_pages = {} - -function Http.per_session(page) - Http.per_session_pages[page] = true -end - -function Http.clear_session() - Http.request.java.getSession().removeAttribute("luan") -end - - function Http.uncache_site() for k in pairs(Table.copy(Package.loaded)) do if matches(k,"^site:") then