[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#900821: Apache Bug when Serving Content from SMB on Ubuntu 20.04



Version(s) tested: 2.4.18, 2.4.41
Linux version: Ubuntu 16.04 (working), Ubuntu 20.04 (broken)

I can confirm that this bug appears to be a problem when using Apache 2.4.41 installed via package manager (apache2=2.4.41-4ubuntu3.1) on Ubuntu 20.04. This project is replacing an Ubuntu 16.04 host with Apache 2.4.18 using SMB 1.0. In an effort to isolate the issue, I tried the following:
Disabling mmap with EnableMMAP Off is the only thing we have found that allows the service to work as expected.

To add some clarification to what the problem is for us, the files being served aren't just corrupted. What is happening for us is that the HTTP status line and the first few headers do not get sent. The remaining headers get prepended to the file being served. From a cursory check, it looks like the first 128 bytes of headers may be getting dropped altogether, though I've only spot checked this a couple of times. After the remaining headers are sent, the content is sent as well without a couple of newlines separating the header content from the file content.

--
Jerry


Reply to: