[php-src] PR #15817: Fix bug #73182: PHP SOAPClient does not support stream context HTTP headers in array form
| From: | nielsdos | Date: | Mon, 09 Sep 2024 20:36:19 +0000 |
| Subject: | [php-src] PR #15817: Fix bug #73182: PHP SOAPClient does not support stream context HTTP headers in array form | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28512@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15817
Author: nielsdos
This code is modelled after how
http_fopen_wrapper.c does things, which apparently is
just looping over the array and handling each string the same way as if we passed a header string
directly.
Also fixes a potential crash in php_sdl.c but without adding support for header arrays
there (yet) because the code is untested.