Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13348

improvements to ezsolrbase::sendHTTPRequest

    XMLWordPrintable

Details

    Description

      • add url info, curl_error() info to curl errors, around curl errors:
                    if  ( $errNo )
                    {
                        eZDebug::writeError( 'curl error: ' . $errNo, 'eZSolr::sendHTTPRequest()' );
                        return false;
                    }
        
      • check for errors on fput when doing fsockopen, around this piece of code:
                    fputs( $fp, $request );
                    if ( $method == 'POST' )
                    {
                        fputs( $fp, $postData );
                    }
        

      Attachments

        Activity

          People

            pborgerm pborgerm
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: