Currently the drupal_http_request() seems to be blocking the request. How about moving it to hook_exit() or as a shutdown function?
Currently the drupal_http_request() seems to be blocking the request. How about moving it to hook_exit() or as a shutdown function?
Comments
Comment #1
miklHmm, that is a good suggestion. It'll require some refactoring, but it should be feasible :)
Comment #2
amitaibuYou would still keep the logic in
hook_watchdog(), but you can call another function to register the info in a static variable.Comment #4
miklImplemented in 7.x-1.0-beta2.