Welcome Guest, Not a member yet? Register   Sign In
CI4 error run curl
#2

Test to replace this lines:

PHP Code:
ob_flush();
flush(); 

To something like:

PHP Code:
$this->response->setBody(ob_get_clean()); 


It will lose the stream capability...
I think stream is not possible without terminate the script before CodeIgniter send the Response.



Reply


Messages In This Thread
CI4 error run curl - by kokero - 08-29-2021, 09:00 AM
RE: CI4 error run curl - by natanfelles - 08-29-2021, 03:22 PM
RE: CI4 error run curl - by kokero - 08-29-2021, 04:21 PM
RE: CI4 error run curl - by chakycool - 09-06-2021, 01:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB