php - CURLOPT_POSTFIELDS has a length or size limit? -
i want send api post data large information data server server b. server b, receive part of posts data if htaccess increased post size , other.
php_value upload_max_filesize 400m php_value post_max_size 400m php_value max_execution_time 500 php_value max_input_time 400 php_value memory_limit 400m there limit of posts data sent curl? or.. know how solve problem?
sending data via post not have limit except 1 have set in server (php_value post_max_size 400m);
you might want check timeout value, try increasing current value:
curl_setopt($ch, curlopt_connecttimeout, 60); curl_setopt($ch, curlopt_timeout, 60); this might closing connection in server before entire request sent server b.
Comments
Post a Comment