]> granicus.if.org Git - apache/commit
Tweak the AP_MIN_SENDFILE_BYTES. Not using sendfile on Windows
authorBill Stoddard <stoddard@apache.org>
Mon, 5 Feb 2001 18:28:47 +0000 (18:28 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 5 Feb 2001 18:28:47 +0000 (18:28 +0000)
commit1a3c98e63b12cffdf7808365c479e8a81010c03c
tree248bcd2da0fe9a02bb94bd2dc955a32b3a92a6a0
parentbd424f80f359a0dea4a99ec059ec525380a8b4f6
Tweak the AP_MIN_SENDFILE_BYTES.  Not using sendfile on Windows
in the general (non byterange) case is a HUGE performance hit (> 50% in many cases).
I also suspect most byterange requests will be for substantially more bytes (a pageful
out of a larger document for example). In the uncommon (I believe) cases where
fewer bytes are requested, 250 bytes per packet is not too abusive of the network.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87983 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_core.c