PHP CURL w/o waiting for response
Go to solution
Solved by Neil,
What language are you using?
Says in the topic: php
There's no good way to do this, as php is (by design) a blocking language. Which means it will wait for the function to finish before continuing.
Some suggestions include:
1. Lower the curl timeout opt to something very low.
2. Use a socket to generate the http request manually, and then close the socket after opening.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now