Introduced in D12622
Connection hangs until timeout while trying to read such files.
curl -v 'https://phabricator/res/defaultX/phabricator/e18bf0da/core.pkg.css' -H 'Accept-Encoding: gzip, deflate, sdch, br' --compressed > /dev/null ... < Content-Length: 271871 < Connection: keep-alive < { [15716 bytes data] 37 265k 37 99k 0 0 1676 0 0:02:42 0:01:00 0:01:42 0* transfer closed with 170238 bytes remaining to read 37 265k 37 99k 0 0 1673 0 0:02:42 0:01:00 0:01:42 0 * Closing connection 0 curl: (18) transfer closed with 170238 bytes remaining to read... ==> /var/log/nginx/phabricator.access.log <== [13/Dec/2016:20:45:17 +0000] "GET /res/defaultX/phabricator/e18bf0da/core.pkg.css HTTP/1.1" 200 duration=0.573 101633 "-" "curl/7.49.1"
With this line commented length is correct:
< Content-Length: 271871 ... ==> /var/log/nginx/phabricator.access.log <== [13/Dec/2016:20:41:10 +0000] "GET /res/defaultX/phabricator/e18bf0da/core.pkg.css HTTP/1.1" 200 duration=0.065 271871 "-" "curl/7.49.1"