You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# pecl update-channels
Updating channel "doc.php.net"
Error: Unable to create XML parser
Invalid channel.xml file
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
The root cause seems to be pecl not parsing HTTP chunked encoding response properly.
# pecl update-channels
Updating channel "doc.php.net"
Update of Channel "doc.php.net" succeeded
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
# pecl version
PEAR Version: 1.10.15
PHP Version: 8.3.15
Zend Engine Version: 4.3.15
Running on: Linux 362aa5001767 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64
The text was updated successfully, but these errors were encountered:
zhangyoufu
added a commit
to zhangyoufu/pear-core
that referenced
this issue
Jan 10, 2025
The root cause seems to be pecl not parsing HTTP chunked encoding response properly.
GET https://doc.php.net/channels.xml returns the following HTTP response:
If I modify the response to fixed-length body, pecl works properly.
The text was updated successfully, but these errors were encountered: