http://qs1969.pair.com?node_id=11133818


in reply to Re: AnyEvent::HTTPD -> Extra Callback after response?
in thread AnyEvent::HTTPD -> Extra Callback after response?

I second the /favicon.ico explanation
  • Comment on Re^2: AnyEvent::HTTPD -> Extra Callback after response?

Replies are listed 'Best First'.
Re^3: AnyEvent::HTTPD -> Extra Callback after response?
by sectokia (Pilgrim) on Jun 17, 2021 at 08:44 UTC
    favicon comes in as a another request. In the code above it binds to '/test' so favicon doesn't trigger it. Also because it goes into timer, a favicon request can come and go independantly.