ext-soap throws uncatchable errors
オープン
まだ誰も着手していません。
Extension: soap
Feature
Status: Needs Triage
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.1k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ext-soap の \SoapServer::handle() の実装から始め、サポートされていないプロシージャやその他のエラーがどのように発生するかを追跡します。サポートされていないプロシージャの場合を含め、呼び出し側がこれらのエラーを捕捉でき、スクリプトが終了したり SOAP サーバーが独自のレスポンスを出力したりしなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, php
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100