Skip to content
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

Ensure that an EASY-ACCEPTOR is composable with other acceptors #214

Conversation

foretspaisibles
Copy link
Contributor

The ACCEPTOR-DISPATCH-REQUEST returns the values resulting from a call to CALL-NEXT-METHOD, to ensure EASY-ACCEPTOR is composable with other acceptors, implementing other ACCEPTOR-DISPATCH-REQUEST methods. The value returned is important to PROCESS-REQUEST which uses it to determine if the handler used by ACCEPTOR-DISPATCH-REQUEST prepared an in-memory version of the answer or wrote it in the appropriate output stream.

In the previous version of the ACCEPTOR-DISPATCH-REQUEST method for EASY-ACCEPTORS, the values
resulting from a call to CALL-NEXT-METHOD are not not transferred to the caller.

The ACCEPTOR-DISPATCH-REQUEST returns the values resulting from
a call to CALL-NEXT-METHOD, to ensure EASY-ACCEPTOR is composable
with other acceptors, implementing other ACCEPTOR-DISPATCH-REQUEST
methods.  The value returned is important to PROCESS-REQUEST which
uses it to determine if the handler used by ACCEPTOR-DISPATCH-REQUEST
prepared an in-memory version of the answer or wrote it in
the appropriate output stream.
@hanshuebner hanshuebner merged commit 5cb8ed1 into edicl:master Mar 24, 2023
@foretspaisibles foretspaisibles deleted the ensure-that-easy-handler-is-composable branch March 24, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants