TS-464 / QTS 5.2.10: Apache returns HTTP 200 with an empty body under concurrent requests (reproducible over loopback)

Operating system used to access the NAS: Windows 10 Pro (also reproduced with curl on the NAS itself, no client involved) NAS model: TS-464 (x86_64) Firmware version / build: QTS 5.2.10, build 20260731 (also seen on 5.2.9) Web server: the Apache 2.4.65 bundled with QTS, serving static files from a Web share

Symptom

Under concurrent HTTP requests, a share of responses come back as HTTP 200 OK with Content-Length: 0 and no body. The status code is 200, so any check that only looks at the status reports success. Affected files are ordinary static assets - CSS and JS. In a browser this shows up as a page that loads with missing styles or missing scripts, with no error in the console, because an empty 200 is not an error.

Sequential requests never fail. The failure needs roughly four or more requests in flight at the same time.

Reproduction (no browser, no external network)

Run this on the NAS itself over SSH. It only reads static files over the loopback interface:

cd /tmp; rm -f p_*.txt

F=$(find /share/Web/<your_site> -name '*.css' -o -name '*.js' | head -40)

for r in 1 2 3; do

for f in $F; do u=${f#/share/Web/}

(curl -sk -o /dev/null --http1.1 -w "%{http_code} %{size_download}

" "https://127.0.0.1:8443/$u" >> p_$r.txt) &

done

wait

done

echo "total=$(cat p_*.txt | wc -l) empty=$(awk '$1==200 && $2==0' p_*.txt | wc -l)"

Two things matter: the requests must run in parallel (the & and wait), and you must measure the body size, not the status code.

Measurements

Date Variant Requests Empty (200 + 0 bytes)
2 Sep 2026 parallel, HTTP/1.1 120 7-13 depending on run
14 Sep 2026 parallel, HTTP/1.1 120 10
14 Sep 2026 parallel, HTTP/1.1 40 10
22 Sep 2026 parallel, gzip / no gzip 120 / 120 7 / 13
12 Oct 2026 parallel, gzip / no gzip 120 / 120 9 / 12
any date sequential 40 0

So between roughly 3% and 25% of parallel requests, depending on the run.

Ruled out by measurement

  • ModSecurity (module genuinely disabled - no change)
  • EnableMMAP Off / EnableSendfile Off (no change)
  • mod_deflate / gzip (happens with and without)
  • HTTP/2 vs HTTP/1.1 (happens on both)
  • php-fpm (happens on plain static files)
  • QTS update 5.2.9 → 5.2.10 (problem survived)
  • a fresh reboot of the NAS (problem survived)
  • the network: reproducible over loopback on the device itself

Apache logs

With LogLevel debug on the error log, nothing is logged for the failing requests - all connections are recorded as a standard shutdown. One unrelated message appears on every request: ModSecurity requires mod_unique_id to be installed.

Note: /etc/init.d/Qthttpd.sh forces ErrorLog /dev/null and LogLevel crit on every Apache start unless QWEB CustomLog is TRUE, so a restart silently discards your logging settings. A gentle kill -USR1 on the Apache pid applies the configuration without that.

Question to other TS-464 owners

Can you reproduce this on your unit with QTS 5.2.10? The script above takes about a minute and only reads files. I would like to know whether this is specific to one model, one firmware build, or more general.

A support case has been open since 2 September (Q-202609-51425). So far I have not been able to get an answer to the single question of whether the issue was reproduced in the vendor’s own lab.

Could you let us know whether this issue started recently — for example, after a firmware update — or whether it has been happening since you first set up the web server? Thanks!

Hi SteveKo, thank you for picking this up.

It did not start with a firmware update. It started on 24 August 2026, the day we added our own `Include` to `apache.conf` that loads `mod_dav` and `mod_dav_fs`.** These modules ship with QTS but are not loaded by default. I should have listed that change in the first post, and I am sorry I did not: the Apache on this unit was not a stock configuration.

Today I tested it directly, with the same script as in the first post (40 parallel requests over loopback, counting `200` with a zero-byte body):

| State | Empty responses |

|—|—|

| `mod_dav` + `mod_dav_fs` loaded | 31 of 240 |

| both modules unloaded (graceful reload, verified in `/proc//maps`) | **0 of 480** |

| both modules loaded again | 16 of 240 |

So the trigger is loading those two modules. Everything I ruled out earlier (ModSecurity, mmap/sendfile, gzip, HTTP/2, php-fpm, the firmware update) was beside the point.

**How to reproduce on a test unit:** add these two lines before the virtual hosts, reload Apache and run the script from the first post.

LoadModule dav_module modules/mod_dav.so

LoadModule dav_fs_module modules/mod_dav_fs.so

Notes that may help whoever looks at it:

- The empty responses hit ordinary static files **outside** the one directory that had `Dav On`.

- I have not tested which of the two modules is responsible.

- Seen with the modules loaded on both 5.2.9.3499 (build 20260514) and 5.2.10.3577 (build 20260731). Never tested on 5.1.9.

- On 5.2.9 the same modules also did not do their actual job: with `Dav On`, PROPFIND, PUT and MKCOL returned `405` with `Allow: GET,POST,OPTIONS,HEAD`, also in a minimal Apache instance with only unixd, authz_core, dav and dav_fs loaded.

For completeness, the firmware history from the system event log: 5.1.9.2954 from 9 June, 5.2.9.3499 from 5 July, 5.2.10.3577 installed on 30 August and running since the reboot on 2 September. None of these dates matches the start of the problem.

I will correct the first post and update support case Q-202609-51425 accordingly.

Update, 13 October 2026 - cause found. The Apache on my unit was not stock: since 24 August it loaded mod_dav and mod_dav_fs through an extra Include. With both modules unloaded the problem does not occur (0 empty responses in 480 parallel requests); with them loaded it returns (16 of 240). The default QTS configuration is not affected as far as I can measure. Details in my reply of 13 October below.

Thanks for the update and for tracking down the cause! If you run into any other issues, feel free to let us know.