ZF-11896: Unused variable $stream in Zend_Http_Client_Adapter_Socket

Description

{{Zend_Http_Client_Adapter_Socket::read()}} sets a variable {{$stream}} near the top of the method:


$stream = !empty($this->config['stream']);

{{$stream}} is never used in the method; the actual logic that depends on whether or not streaming is being used checks against {{$this->out_stream}}.

Comments

Fixed in trunk r24557 Merged to release-1.11 in r24558