View | Details | Raw Unified | Return to bug 251969
Collapse All | Expand All

(-)security/openssl/files/extra-patch-ktls (-1 / +1 lines)
Lines 888-894 Link Here
888
+
888
+
889
+    ret = sendfile(fd, s, off, size, NULL, &sbytes, flags);
889
+    ret = sendfile(fd, s, off, size, NULL, &sbytes, flags);
890
+    if (ret == -1) {
890
+    if (ret == -1) {
891
+	    if (errno == EAGAIN && sbytes != 0)
891
+	    if ((errno == EAGAIN || errno == EBUSY) && sbytes != 0)
892
+		    return sbytes;
892
+		    return sbytes;
893
+	    return -1;
893
+	    return -1;
894
+    }
894
+    }

Return to bug 251969