Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4cb51b1

Browse filesBrowse files
author
Michael Christopher
committed
Renamed README and fixed Http layer
1 parent 5ec3927 commit 4cb51b1
Copy full SHA for 4cb51b1

File tree

2 files changed

+3
-3
lines changed
Filter options

2 files changed

+3
-3
lines changed

‎README renamed to ‎README.md

Copy file name to clipboard
File renamed without changes.

‎Services/Zencoder/Http.php

Copy file name to clipboardExpand all lines: Services/Zencoder/Http.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function __call($name, $args) {
3333
CURLOPT_POSTFIELDS => NULL,
3434
CURLOPT_CONNECTTIMEOUT => 30,
3535
CURLOPT_TIMEOUT => 30,
36-
CURLOPT_SSL_VERIFYPEER => 0,
37-
CURLOPT_SSL_VERIFYHOST => 0
36+
CURLOPT_SSL_VERIFYPEER => 0, #1
37+
CURLOPT_SSL_VERIFYHOST => 0 #2
3838
);
3939

4040
foreach ($req_headers as $k => $v) $opts[CURLOPT_HTTPHEADER][] = "$k: $v";
@@ -95,7 +95,7 @@ public function __call($name, $args) {
9595
} else throw new Services_Zencoder_HttpException(curl_error($curl));
9696
} else throw new Services_Zencoder_HttpException(curl_error($curl));
9797
} else throw new Services_Zencoder_HttpException('Unable to initialize cURL');
98-
} catch (ErrorException $e) {
98+
} catch (Services_Zencoder_HttpException $e) {
9999
if (is_resource($curl)) curl_close($curl);
100100
if (isset($buf) && is_resource($buf)) fclose($buf);
101101
throw $e;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.