You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Instead, the connection is closed and new one is opened. The problem is in the socket adapter's connect() method - the part that checks if the new connection's host corresponds to the host we're already connected to:
190: if (($this->connected_to[0] != $host || $this->connected_to[1] != $port)) {
191: if (is_resource($this->socket)) {
192: $this->close();
193: }
194: }
Jira Information
Description
When I use the following setup, I expect, that after the connection is opened on the first request, it is reused for the next ones.
Instead, the connection is closed and new one is opened. The problem is in the socket adapter's connect() method - the part that checks if the new connection's host corresponds to the host we're already connected to:
(see http://apigen.juzna.cz/doc/zendframework/zf2/source-class-Zend.Http.Client.Adapter.Socket.html#190)
The stored value is "ssl://example.org" which compared to the $host value "example.org" is always false, so the current connection is then closed.
The text was updated successfully, but these errors were encountered: