-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
PhpInputStream's getSize function is Wrong! #2
Comments
Can you provide failing test case, please? Originally posted by @michalbundyra at zendframework/zend-diactoros#380 (comment) |
Originally posted by @zhushengwen at zendframework/zend-diactoros#380 (comment) |
@zhushengwen Thanks in advance! Originally posted by @froschdesign at zendframework/zend-diactoros#380 (comment) |
Because size can not be determined for php input stream However, investigating this issue I discovered another problem that I will report as a separate issue. |
I recently had a look into guzzle and they do in fact pass the stream over to a Not sure if we should handle this as well. |
We use property to store cached content. It should really be temp stream, but I do not think we should eagerly read it for metadata and such. |
reference: https://www.php.net/manual/en/wrappers.php.php
php://input is not support fstat
Provide a narrative description of what you are trying to accomplish.
Code to reproduce the issue
Expected results
Actual results
Originally posted by @zhushengwen at zendframework/zend-diactoros#380
The text was updated successfully, but these errors were encountered: