File tree 2 files changed +3
-3
lines changed
Filter options
2 files changed +3
-3
lines changed
File renamed without changes.
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ public function __call($name, $args) {
33
33
CURLOPT_POSTFIELDS => NULL ,
34
34
CURLOPT_CONNECTTIMEOUT => 30 ,
35
35
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
38
38
);
39
39
40
40
foreach ($ req_headers as $ k => $ v ) $ opts [CURLOPT_HTTPHEADER ][] = "$ k: $ v " ;
@@ -95,7 +95,7 @@ public function __call($name, $args) {
95
95
} else throw new Services_Zencoder_HttpException (curl_error ($ curl ));
96
96
} else throw new Services_Zencoder_HttpException (curl_error ($ curl ));
97
97
} else throw new Services_Zencoder_HttpException ('Unable to initialize cURL ' );
98
- } catch (ErrorException $ e ) {
98
+ } catch (Services_Zencoder_HttpException $ e ) {
99
99
if (is_resource ($ curl )) curl_close ($ curl );
100
100
if (isset ($ buf ) && is_resource ($ buf )) fclose ($ buf );
101
101
throw $ e ;
You can’t perform that action at this time.
0 commit comments