Branch: Tag:

2003-02-03

2003-02-03 14:53:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added HTTP_BLOCKING_SIZE_THRESHOLD.

Rev: server/etc/include/config.h:1.33

1:   /* -*- Pike -*- -  * $Id: config.h,v 1.32 2002/04/05 12:42:16 jonasw Exp $ +  * $Id: config.h,v 1.33 2003/02/03 14:53:38 grubba Exp $    *    * User configurable things not accessible from the normal    * administration interface. Not much, but there are some things..
90:   // compatibility.   #define ROXEN_COMPAT 1.3    - /*---------------- End of configurable options. */ - #endif /* if _ROXEN_CONFIG_H_ */ +       // Cache timeout for RAM cache   #ifndef INITIAL_CACHEABLE   # define INITIAL_CACHEABLE 300   #endif -  +  + #ifndef HTTP_BLOCKING_SIZE_THRESHOLD + // Size at below which blocking writes may be performed without penalty. + // Should correspond to the network buffer size (usually 4KB). + // Set to zero or negative to always use nonblocking I/O. + #define HTTP_BLOCKING_SIZE_THRESHOLD 4000 + #endif /* !HTTP_BLOCKING_SIZE_THRESHOLD */ +  + /*---------------- End of configurable options. */ + #endif /* if _ROXEN_CONFIG_H_ */