-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Truncated answers #131
Comments
@josecdv Thanks for reporting, this shouldn't have happened! I've just tried your script locally and can not reproduce the problem you're seeing. All request bodies have the exact same size as their respective That being said, there's still potential for an "incomplete" response over unreliable networks. If the network is somehow interrupted, the response will just end in the middle of the transfer, while the whole response should fail (arguably). This will be addressed upstream via reactphp/http-client#92 and in this library via #102. This is also covered by our test suite and has been used in production for years already. I don't see anything that could cause this over a reliable network connection, so this is rarely an issue in the applications I've seen. Additionally, using HTTPS may help mitigate this transport layer problem, making it even less of a problem in many real world applications. I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this 👍 |
Thank you! We take a look at the links you mention. |
Hello! In case someone has the same case of receiving truncated responses, I have been solved by updating clue / buzz-react to version 2.6. |
Good Morning.
I use ReactPHP to launch several API calls asynchronously, but many of the answers I recover it is not complete, I only recover a part of them.
When I make the same requests using cURL instead of ReactPHP, I get the complete answer.
The heaviest response I get is 1.1Mb.
The script that I use is:
Thanks.
Regards.
The text was updated successfully, but these errors were encountered: