Commit 557b6cfd authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

add proper error message when send() fails

parent 84bf03b3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -308,6 +308,9 @@ CURLcode Curl_write(struct connectdata *conn,
        )
        /* this is just a case of EWOULDBLOCK */
        bytes_written=0;
      else
        failf(conn->data, "Send failure: %s",
              Curl_strerror(conn, err));
    }
#ifdef USE_SSLEAY
  }