|
GNU libmicrohttpd 1.0.9
|
#include </builddir/build/BUILD/libmicrohttpd-1.0.9/src/microhttpd/mhd_opt_matrix.h>
Data Fields | |
| const char * | name |
| size_t | mem_limit |
| int | discipline_lvl |
| int | use_legacy_strict |
| enum MHD_OptMatrixThreading | threading |
| enum MHD_OptMatrixPoll | poll_backend |
| unsigned int | thread_pool_size |
One point of the daemon option matrix.
A caller may copy the structure and modify the copy, e.g. with mhd_opt_matrix_raise_mem_limit(); the tables returned by mhd_opt_matrix_profile() must not be modified.
Definition at line 176 of file mhd_opt_matrix.h.
| int MHD_OptMatrixProfile::discipline_lvl |
The value for MHD_OPTION_CLIENT_DISCIPLINE_LVL or, when use_legacy_strict is set, for MHD_OPTION_STRICT_FOR_CLIENT. Zero means "keep the MHD default" and adds no option at all.
Definition at line 195 of file mhd_opt_matrix.h.
Referenced by mhd_opt_matrix_describe(), mhd_opt_matrix_effective_discipline(), mhd_opt_matrix_fill_options(), and mhd_opt_matrix_from_env().
| size_t MHD_OptMatrixProfile::mem_limit |
The value for MHD_OPTION_CONNECTION_MEMORY_LIMIT. Zero means "keep the MHD default".
Definition at line 188 of file mhd_opt_matrix.h.
Referenced by mhd_opt_matrix_describe(), mhd_opt_matrix_fill_options(), mhd_opt_matrix_from_env(), and mhd_opt_matrix_raise_mem_limit().
| const char* MHD_OptMatrixProfile::name |
Human readable name of the profile, used for logging and for MHD_OPT_MATRIX_PROFILE_ENV.
Definition at line 182 of file mhd_opt_matrix.h.
Referenced by env_error(), mhd_opt_matrix_describe(), mhd_opt_matrix_from_env(), mhd_opt_matrix_lookup(), and mhd_opt_matrix_print_notice().
| enum MHD_OptMatrixPoll MHD_OptMatrixProfile::poll_backend |
The polling backend.
Definition at line 212 of file mhd_opt_matrix.h.
Referenced by mhd_opt_matrix_daemon_flags(), mhd_opt_matrix_describe(), mhd_opt_matrix_from_env(), and mhd_opt_matrix_profile_supported().
| unsigned int MHD_OptMatrixProfile::thread_pool_size |
The number of worker threads, only used with MHD_OPT_MATRIX_THR_POOL.
Definition at line 218 of file mhd_opt_matrix.h.
Referenced by mhd_opt_matrix_describe(), mhd_opt_matrix_fill_options(), and mhd_opt_matrix_from_env().
| enum MHD_OptMatrixThreading MHD_OptMatrixProfile::threading |
The threading mode.
Definition at line 207 of file mhd_opt_matrix.h.
Referenced by mhd_opt_matrix_daemon_flags(), mhd_opt_matrix_describe(), mhd_opt_matrix_fill_options(), mhd_opt_matrix_from_env(), mhd_opt_matrix_is_external(), and mhd_opt_matrix_profile_supported().
| int MHD_OptMatrixProfile::use_legacy_strict |
If non-zero, the deprecated MHD_OPTION_STRICT_FOR_CLIENT option is used instead of MHD_OPTION_CLIENT_DISCIPLINE_LVL, so that the legacy option translation code is exercised as well.
Definition at line 202 of file mhd_opt_matrix.h.
Referenced by mhd_opt_matrix_describe(), mhd_opt_matrix_effective_discipline(), mhd_opt_matrix_fill_options(), and mhd_opt_matrix_from_env().