So I never wrote the answer for this:
The registered callback is async, but it responds immediately instead of doing an async operation.
Thus the fix was to postpone the response so that it is done *after* the registered callback completes:
AnyEvent::postpone { $req->respond(...) }In reply to Re: AnyEvent::HTTPD -> Extra Callback after response?
by sectokia
in thread AnyEvent::HTTPD -> Extra Callback after response?
by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |