cURL() POST request size limit?

Hello,

I’m using cURL to POST data through CCHttpRequest() but the app hangs when the POST data string is very long. Is there a limit I need to know about and can I extend it?

Thanks.