-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clack does not start hunchentoot on lispworks 7 #125
Comments
I can confirm that the issue is present on LispWorks 6.1.1 as well. |
This solution does not appear to work in 6.1.1:
|
I don't have the license of LispWorks, so I'm not willing to make my products work with it. Send me as a pull request if it works for you. |
In src/handler/hunchentoot.lisp, line 73, substituting
with
solved the problem for me on Lispworks Professional 6.1.1. I don't know about LW 7, it'd be nice if somebody could verify. |
@yogavidya I can confirm that this works in LW 7.1 64bit OS X. Update: this solved the problem of an error being signaled on startup, but not the issue of immediately quitting. |
Ayup, Clack appears to stop the hunchentoot acceptor immediately when running under Lispworks (tested this with version 7).
It looks to me that the problem is in src/handler/hunchentoot.lisp lines 96-98. According to http://weitz.de/hunchentoot/#acceptors accept-connections() returns immediately on Lispworks rather than blocking and falls through to hunchentoot:stop().
Replacing:
With:
Gets the acceptor (and caveman2 app) up and running but I think there's a bit more to making this work than this. At least stopping the app does not work properly.
I'm new to this framework, but I'll see if I can make a working path for you.
Kind regards
André Lynum
The text was updated successfully, but these errors were encountered: