dkd / php-cmis-client

This is a PHP CMIS Client implementation based on OpenCMIS. It has been retired and put in to archive mode.
Apache License 2.0
54 stars 34 forks source link

Empty reply from server #66

Closed lplume closed 2 years ago

lplume commented 6 years ago

Hello, i fall into this issue: sometimes, inside a try catch of a RequestException the getResponse method returns null. The original exception message is the following cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

would it be a good idea to check for the response object and maybe, as a fall back, returning the first exception message?

thanks