-
-
Couldn't load subscription status.
- Fork 207
Fix #7280, ER2 client not working on PHP 5.6+ #7330
Conversation
PHP 5.6 seems to introduce a (maybe buggy) cookie support for SOAP clients. We now unset cookies from the SOAP client before each request.
|
OMG! Thanks a bunch for debugging this PHP sadness (not yet there). |
|
Danke @tristanlins! Ich patch gleich manuell. |
|
@leofeyer alternative couldn't you stop using sessions in the SOAP server? |
|
I am? You still have access to the |
|
Öhm, where was the |
|
It is now also called |
|
Argh, youre absolutely right, I searched at the wrong place on github >.< |
|
Meehh this could be difficult, the service include the |
|
I have already added a |
|
Nope, it is not the IDS. |
|
I wonder why this suddenly appeared as Cookie support has been in SOAP for a pretty long time. It was introduced to PHP in 5.0.4 (see http://php.net/manual/de/soapclient.setcookie.php). The must be something strange on the rep server PHP&nginx combination. Non the less, we do not need the cookie as we do not use the session in any way in the rep server, therefore we should find a way to unset it. |
|
Although cookie support was introduces in PHP 5.0.4, the |
|
I have also tried it on Apache level: Did not work either. |
|
This might shed some light on the issue: php/php-src#472 (comment) You can also see the related change set. |
|
Here is the log entry from the server: |
|
So obviously, PHP 5.6.0 is appending stuff to the header line? |
|
Yes it is, see my comment at: #7280 (comment) I wrote down my findings. |
|
@leofeyer omg, I would recommend to close this PR, because this is a PHP 5.6.0 specific bug?! |
PHP 5.6 seems to introduce a (maybe buggy) cookie support for SOAP clients.
We now unset cookies from the SOAP client before each request.