keplerproject / wsapi

WSAPI is an API that abstracts the web server from Lua web applications.
http://keplerproject.github.io/wsapi
74 stars 33 forks source link

Wsapi 1.6 breaks Orbit and potentially other Lua 5.1 apps... #30

Closed kognix closed 10 years ago

kognix commented 10 years ago

wsapi.xavante uses coxpcall incorrectly, resulting in errors starting a wsapi-xavante instance. Also, attempts to run Orbit applications (under Lua 5.1) will fail with the "attempt to yield across metamethod/C-call boundary" error, since the coxpcall versions of pcall and xpcall are necessary (not an issue under Lua 5.2).

This pull request addresses both of these issues.

kognix commented 10 years ago

Thanks!