Sending POST Requests without waiting for response?

Posted by Gotys on Stack Overflow See other posts from Stack Overflow or by Gotys
Published on 2010-02-03T09:23:15Z Indexed on 2012/06/05 10:40 UTC
Read the original article Hit count: 218

Filed under:
|

I am writing a simple REST service, which responds to requests from clients. All in PHP.

My concern is, that when my server responds to a request, it could end up tying up resources if the client side is too slow in sending back "ok" response.

How do I send a POST request via lib_curl setting it to not wait for any responses, but rather quit immidiately after the POST data have been sent?

Is this even possible? Thank you !

© Stack Overflow or respective owner

Related posts about php

Related posts about libcurl