[Bug 270190] Sendfile appears to be broken in 13.2-RC2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Mar 2023 02:53:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270190

            Bug ID: 270190
           Summary: Sendfile appears to be broken in 13.2-RC2
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: victoriggy@gmail.com

Userland applications that use sendfile seem to hang on the network socket. 

Steps to reproduce:

Enable sendfile in nginx:

http {
 sendfile        on;
}

curl -X GET http://localhost/

The HTML file will partially download and then stall indefinitely.  

I have also observed issues with samba that happen to use sendfile as well.

It might be related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264943
- on an intel nic using the em driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.