Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: AnyEvent::HTTPD -> Extra Callback after response?

by The_Dj (Sexton)
on Jun 13, 2021 at 03:41 UTC ( #11133818=note: print w/replies, xml ) Need Help??


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 (Scribe) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133818]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-05-18 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?