ext-soap throws uncatchable errors
未关闭
还没有人认领这个 Issue。
Extension: soap
Feature
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.2k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
I am writing a SOAP server, but the soap extension throws uncatchable errors.
For example, "Procedure '...' not present" happens when the client asks for a function that is not supported by the server. And when $soapServer->handle(...) is called, the script throws a fatal error and outputs its own response.
I should be able to catch any error and handle it however I want. \SoapServer::handle() should never kill my script.
PHP Version
PHP 8.1.14
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 ext-soap 对 \SoapServer::handle() 的实现开始,追踪不受支持的过程和其他错误是如何引发的。完成的标准是调用方可以捕获这些错误,包括不受支持的过程这一情况,而不会导致脚本终止或 SOAP 服务器发出自己的响应。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- api, backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100