Req #80124 [Com]: HTTP stream contexts missing upload progress notification
Edit report at https://bugs.php.net/bug.php?id=80124&edit=1
ID: 80124
Comment by: samira dot akhlaqi314 at gmail dot com
Reported by: jcarson88 at gmail dot com
Summary: HTTP stream contexts missing upload progress
notification
Status: Open
Type: Feature/Change Request
Package: Streams related
Operating System: CentOS Linux release 7.8.2003
PHP Version: 7.2.33
Block user comment: N
Private report: N
New Comment:
A really good post, very thankful and hopeful that you will write many more posts like this one.
(https://www.livetheorangelife.net/)php.net
Previous Comments:
------------------------------------------------------------------------
[2021-12-15 14:01:08] astrologershambhunath at gmail dot com
https://www.astrologershambhunath.com/bengali-tantrik/
https://www.astrologershambhunath.com/best-tantrik-near-me/
https://www.astrologershambhunath.com/black-magic-in-assam/
https://www.astrologershambhunath.com/black-magic-in-guwahati/
https://www.astrologershambhunath.com/black-magic-removal-free/
------------------------------------------------------------------------
[2020-09-20 00:24:23] jcarson88 at gmail dot com
Yes, that is correct.
------------------------------------------------------------------------
[2020-09-19 23:57:59] requinix@php.net
Oh, so it's not about file_get_contents itself but about HTTP streams with a context that
includes data to send.
------------------------------------------------------------------------
[2020-09-19 23:53:04] jcarson88 at gmail dot com
When using file_get_contents, the HTTP Request data is written to the socket first before the stream
notify hooks will begin to fire. I believe this to be true with other streaming functions as well.
There are currently no stream notify hooks to capture upload progress when performing a POST.
I've never seen an instance of file_put_contents used to POST data, which I believe you are
alluding to, and I believe it would be prone to the same issue.
------------------------------------------------------------------------
[2020-09-19 23:38:12] requinix@php.net
I'm probably missing something, but why would file_*get*_contents have *upload* progress?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=80124
--
Edit this bug report at https://bugs.php.net/bug.php?id=80124&edit=1
Thread (7 messages)