@@ 137-139 (lines=3) @@ | ||
134 | ||
135 | $options['hooks']->dispatch('curl.before_send', array(&$this->handle)); |
|
136 | ||
137 | if ($options['filename'] !== false) { |
|
138 | $this->stream_handle = fopen($options['filename'], 'wb'); |
|
139 | } |
|
140 | ||
141 | $this->response_data = ''; |
|
142 | $this->response_bytes = 0; |
|
@@ 286-288 (lines=3) @@ | ||
283 | public function &get_subrequest_handle($url, $headers, $data, $options) { |
|
284 | $this->setup_handle($url, $headers, $data, $options); |
|
285 | ||
286 | if ($options['filename'] !== false) { |
|
287 | $this->stream_handle = fopen($options['filename'], 'wb'); |
|
288 | } |
|
289 | ||
290 | $this->response_data = ''; |
|
291 | $this->response_bytes = 0; |