Ah yes, that makes sense. When I commented out the $callback line nothing would happen in the browser :-) I didn't think Dumper was lying to me.
Does it still strike you as odd that the first $callback->() hit takes 30-35 secs everytime but 2nd+ calls are immediate?
Also, I just noticed that while the first call to callback is slow, the first call of the program to the _wait_while_busy while loop takes only 1 sec. It's always the 2nd+ calls that hang. Does that make any sense?
Also, why have you commented out the if ($need_response) in synchronize()? Since I never care about responses, I'm playing around with commenting out the $response_catcher= assignment to avoid all the voodoo in _install_response_header_listener. As you can see I'm shooting in the dark, but experimenting can't hurt anything.
The site I am working with is a semi-private intranet. To possibly get you access I'd have to jump through a lot of hoops.
If you can just throw me little crumbs of help I can do all the grunt work testing/debugging.
Thanks!
In reply to Re^6: WWW::Mechanize::Firefox delayed returns / slow
by tcordes
in thread WWW::Mechanize::Firefox delayed returns / slow
by tcordes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |