GNU libmicrohttpd 1.0.9
Loading...
Searching...
No Matches
MHD_OptMatrixProfile Struct Reference

#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
 

Detailed Description

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.

Field Documentation

◆ discipline_lvl

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().

◆ mem_limit

size_t MHD_OptMatrixProfile::mem_limit

◆ name

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().

◆ poll_backend

enum MHD_OptMatrixPoll MHD_OptMatrixProfile::poll_backend

◆ thread_pool_size

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().

◆ threading

◆ use_legacy_strict

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().


The documentation for this struct was generated from the following file: