dgaudet 97/09/05 18:03:35
Modified: src/main http_protocol.c
Log:
add comment about zero-copy tcp under solaris 2.6
Revision Changes Path
1.160 +3 -0 apachen/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_protocol.c,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- http_protocol.c 1997/09/03 21:50:57 1.159
+++ http_protocol.c 1997/09/06 01:03:33 1.160
@@ -1774,6 +1774,9 @@
* entire transaction to complete. Essentially this should be small enough
* so that in one Timeout period, your slowest clients should be reasonably
* able to receive this many bytes.
+ *
+ * To take advantage of zero-copy TCP under Solaris 2.6 this should be a
+ * multiple of 16k. (And you need a SunATM2.0 network card.)
*/
#ifndef MMAP_SEGMENT_SIZE
#define MMAP_SEGMENT_SIZE 32768