em-net-http
em-net-http copied to clipboard
Only use EM request if running on main thread
Can't resume fibers across threads, so anything that performs HTTP requests in another thread (e.g. NewRelic agent) will break. Not sure if there's a less hacky way to determine the main thread.