| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
SSL Read Errors
From: Patrick Heath <pat_at_i-tools.co.uk>
Date: Fri, 2 Feb 2007 18:15:57 -0000
Can somebody please shed some light on the following error:
56 - SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
I and using a PHP script to connect to a banking API over https I receive
libcurl/7.10.3 OpenSSL/0.9.6g
libcurl/7.12.1 OpenSSL/0.9.7a
libcurl/7.11.2 OpenSSL/0.9.7c
The hosting company are denying all responsibility blaming the API but the
I should point out that it has been running for 3 years with no issues until
I've been googling a while but with no joy.
I'll past the curl part of the script below,
Any help is most appreciated
Kind regards
Pat.
<?php
$ch = curl_init();
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ch, CURLOPT_URL, 'https://www.secure-epayments.apixml.hsbc.com'
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_POSTFIELDS, $XML);
$result = curl_exec($ch);
?>
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info