Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.3 KiB

  1. -------------------------
  2. SPECweb99 ISAPI Overview:
  3. -------------------------
  4. The specweb99 directory contains the complete source code of three ISAPI
  5. extensions which together, implement the dynamic content requirements
  6. of the SPECweb99 webserver software performance benchmark. (Please refer
  7. to http://www.spec.org/osg/web99 for further explanation of the SPECweb99
  8. benchmark.)
  9. The source code is divided into three subdirectories: specweb99-GET,
  10. specweb99-POST_AND_CMD and specweb99-CAD. The source code in each of these
  11. directories independently compile and link into separate ISAPI extension
  12. modules, specweb99-GET.dll, specweb99-POST_AND_CMD.dll and specweb99-
  13. CAD.dll, respectively. specweb99-GET.dll implements handling of the
  14. SPECweb99 standard dynamic GET request, specweb99-POST_AND_CMD.dll
  15. implements handling of the SPECweb99 dynamic POST request as well as the
  16. Reset and Fetch housekeeping functions and specweb99-CAD.dll implements
  17. handling of a SPECweb99 dynamic GET with custom ad rotation request.
  18. In order to use these ISAPI extensions, the registry key "HKEY_LOCAL_
  19. MACHINE\Software\Microsoft\SPECweb99 ISAPI" must exist on the server
  20. machine and must have settings for the following five values set:
  21. (1) ROOT_DIR
  22. This is a string value that specifies the absolute path of the webserver
  23. document root directory. Note that forward slashes, '/', must be used
  24. and no trailiing slash may be present (e.g. "D:/inetpub/wwwroot", NOT
  25. "D:/inetpub/wwwroot/", "D:\inetpub\wwwroot" or "D:\inetpub\wwwroot\").
  26. (2) VECTOR_SEND_IO_MODE_CONFIG
  27. This is a DWORD value that is used to configure the I/O mode used for
  28. VectorSend calls. It is set to 1 to indicate use of synchronous mode,
  29. to 2 to indicate use of asynchronous mode and 3 to indicate use of
  30. "adaptive" mode. With this third option, synchronous mode is used to
  31. send a body of data below a certain configurable size threshold and
  32. asynchronous mode is used to send bodies of data whose size is greater
  33. than or equal to the specified threshold.
  34. (3) VECTOR_SEND_ASYNC_RANGE_START
  35. This is a DWORD value that specifies, in bytes, the data size threshold
  36. to use with adaptive mode VectorSend (see the description for VECTOR_
  37. SEND_IO_MODE_CONFIG).
  38. (4) READ_FILE_IO_MODE_CONFIG
  39. This is a DWORD value that is used to configure the I/O mode used for
  40. VectorSend calls. It is set to 1 to indicate use of synchronous mode,
  41. to 2 to indicate use of asynchronous mode and 3 to indicate use of
  42. "adaptive" mode. With this third option, synchronous mode is used to
  43. send a body of data below a certain configurable size threshold and
  44. asynchronous mode is used to send bodies of data whose size is greater
  45. than or equal to the specified threshold.
  46. Note that this value only needs to be set for specweb99-CAD.dll;
  47. specweb99-GET.dll and specweb99-POST_AND_CMD.dll do not make use of it.
  48. (5) READ_FILE_ASYNC_RANGE_START
  49. This is a DWORD value that specifies, in bytes, the data size threshold
  50. to use with adaptive mode ReadFile (see the description for VECTOR_SEND_
  51. IO_MODE_CONFIG).
  52. Please direct any questions about this module to [email protected].
  53. Ankur Upadhyaya
  54. Software Design Engineer Intern