ext-soap throws uncatchable errors
Nessuno ha ancora preso questa issue.
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.1k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con l’implementazione ext-soap di \SoapServer::handle() e traccia il modo in cui vengono generati i procedimenti non supportati e gli altri errori. Il lavoro è completato quando i chiamanti possono intercettare questi errori, incluso il caso di un procedimento non supportato, senza che lo script termini o che il server SOAP emetta una propria risposta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- c, php
- Ambito
- api, backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100