Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by navalned (Sexton)
on Jun 12, 2021 at 03:44 UTC ( #11133801=note: print w/replies, xml ) Need Help??


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

If you were trying from a browser I would guess its making a request for /test and perhaps a favicon.ico.

  • Comment on Re: AnyEvent::HTTPD -> Extra Callback after response?

Replies are listed 'Best First'.
Re^2: AnyEvent::HTTPD -> Extra Callback after response?
by The_Dj (Sexton) on Jun 13, 2021 at 03:41 UTC
    I second the /favicon.ico explanation
      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://11133801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2022-01-22 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (60 votes). Check out past polls.

    Notices?