If you plan to cancel http requests, don't call http_request in void context, as documentation says.
Also documentation recommends to set AnyEvent::HTTP::MAX_PER_HOST = 4, while you set it to 1024. I'm not sure, but I recommend you try to decrease that value.
In reply to Re: What's causing the busy wait when using AnyEvent::HTTP
by basiliscos
in thread What's causing the busy wait when using AnyEvent::HTTP
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |