zf1-future icon indicating copy to clipboard operation
zf1-future copied to clipboard

Fix for very slow chunk processing for larger content in the http res…

Open aleksandar-mitrev opened this issue 1 year ago • 2 comments

This fix is taken from: https://github.com/zendframework/zend-http/blob/master/src/Response.php

aleksandar-mitrev avatar Jun 13 '23 10:06 aleksandar-mitrev

Additional information:

  • Original code needs about 40 minutes to process a 140MB chunked HTTP response
  • Fixed code needs just a second

thomaslauria avatar Jun 13 '23 10:06 thomaslauria

@aleksandar-mitrev I agree with @boenrobot - I would like to merge this one into 1.23, but better to keep overload logic restoration to prevent any possible regression on older projects. Are you able to update the PR, please?

develart-projects avatar Aug 09 '23 17:08 develart-projects

@develart-projects just have seen that the PR is still open. Is the latest comment still up to date? So shall we still restore the func_overload stuff?

thomaslauria avatar Jul 19 '24 08:07 thomaslauria

@thomaslauria yep, still awaiting PR update to get this into the master.

develart-projects avatar Jul 19 '24 13:07 develart-projects

@develart-projects mbstring stuff restored

thomaslauria avatar Jul 22 '24 07:07 thomaslauria