Currently the drupal_http_request() seems to be blocking the request. How about moving it to hook_exit() or as a shutdown function?

Comments

mikl’s picture

Hmm, that is a good suggestion. It'll require some refactoring, but it should be feasible :)

amitaibu’s picture

You would still keep the logic in hook_watchdog(), but you can call another function to register the info in a static variable.

  • Commit a5e2ae4 on 7.x-1.x by mikl:
    Issue #2219255: Send messages on hook_exit().
    
    This prevents the HTTPS...
mikl’s picture

Status: Active » Fixed

Implemented in 7.x-1.0-beta2.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.