mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	Event posting to the event loop should not hinder the working of HTTP Client or HTTP Server. This commit add a config option to set the timeout for posting the events to the loop. Closes https://github.com/espressif/esp-idf/issues/13641
		
			
				
	
	
		
			17 lines
		
	
	
		
			591 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			591 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "ESP HTTPS server"
 | 
						|
 | 
						|
    config ESP_HTTPS_SERVER_ENABLE
 | 
						|
        bool "Enable ESP_HTTPS_SERVER component"
 | 
						|
        depends on (ESP_TLS_USING_MBEDTLS && MBEDTLS_TLS_SERVER)
 | 
						|
        help
 | 
						|
            Enable ESP HTTPS server component
 | 
						|
 | 
						|
    config ESP_HTTPS_SERVER_EVENT_POST_TIMEOUT
 | 
						|
        int "Time in millisecond to wait for posting event"
 | 
						|
        default 2000
 | 
						|
        help
 | 
						|
            This config option helps in setting the time in millisecond to wait for event to be posted to the
 | 
						|
            system default event loop. Set it to -1 if you need to set timeout to portMAX_DELAY.
 | 
						|
 | 
						|
endmenu
 |