The first drakma:http-request should return "Hello, Clack application 1!".
I'm pretty sure this happens because the RUN function of the Hunchentoot handler completely replaces hunchentoot:*dispatch-table* with a list containing only a function that always dispatches to the newly started app. (see here)
Instead it should work like the Hunchentoot documentation says: Check if the request should be handled by that app. The other handlers in the list should be kept in place.
Request dispatching is performed according to the list of dispatch functions in DISPATCH-TABLE. Each of the functions on that list is called to determine whether it wants to handle the request, provided as single argument. If a dispatcher function wants to handle the request, it returns another function to actually create the desired page.
Fixed at master branch.
Hunchentoot handler has stopped using easy-acceptor, so confliction of *dispatch-table* doesn't matter now.
Thank you for reporting!
I'll illustrate the problem with an example:
The first
drakma:http-request
should return"Hello, Clack application 1!"
.I'm pretty sure this happens because the
RUN
function of the Hunchentoot handler completely replaceshunchentoot:*dispatch-table*
with a list containing only a function that always dispatches to the newly started app. (see here)Instead it should work like the Hunchentoot documentation says: Check if the request should be handled by that app. The other handlers in the list should be kept in place.