nilesh.kale 
							
						 
					 
					
						
						
							
						
						1608b89ff0 
					 
					
						
						
							
							fix(esp_http_client): Fix ota failure with openssl server  
						
						... 
						
						
						
						If the TLS server (e.g., openssl) closes connection with encrypted close-notify alert
then `errno` is not explicitly set on the socket by LwIP stack.
For this scenario, we must rely only on `ERR_TCP_TRANSPORT_CONNECTION_CLOSED_BY_FIN`
return value as the connection close case and do the graceful connection closure.
Closes https://github.com/espressif/esp-idf/issues/14724  
						
						
					 
					
						2024-11-21 12:36:39 +05:30 
						 
				 
			
				
					
						
							
							
								fbp2m 
							
						 
					 
					
						
						
							
						
						bed13e209c 
					 
					
						
						
							
							fix: fixed allocating if_name in client context multiple times  
						
						... 
						
						
						
						Do not allocate client->if_name twice in esp_http_client_init().
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com >
Closes https://github.com/espressif/esp-idf/pull/13945  
						
						
					 
					
						2024-07-07 21:21:00 +08:00 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						f561153820 
					 
					
						
						
							
							fix: reset redirect counter for using same handler  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/13633  
						
						
					 
					
						2024-05-20 10:46:44 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						07f2cbeb0c 
					 
					
						
						
							
							fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously  
						
						... 
						
						
						
						This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config. 
						
						
					 
					
						2024-05-02 16:57:50 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						ce225dfc1a 
					 
					
						
						
							
							Revert "fix(esp_http_client): Call event_handler after header value is received"  
						
						... 
						
						
						
						This reverts commit 04ac8e43dbhttps://github.com/espressif/esp-idf/issues/13497 
Fixes https://github.com/espressif/esp-idf/issues/13097  
						
						
					 
					
						2024-04-01 13:19:57 +05:30 
						 
				 
			
				
					
						
							
							
								jim 
							
						 
					 
					
						
						
							
						
						2060f3a645 
					 
					
						
						
							
							esp_http_client: Fix reset errno to 0 before call esp_transport_read  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/9020  
						
						
					 
					
						2024-02-29 12:00:58 +08:00 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						3cfbbbd978 
					 
					
						
						
							
							fix(esp_http_client): Fix http digest auth without qop  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/12962  
						
						
					 
					
						2024-01-29 11:11:02 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						19355c0fef 
					 
					
						
						
							
							fix(esp_http_client): Fix esp_http_client async mode  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/12358  
						
						
					 
					
						2023-12-07 06:47:37 +00:00 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						37836b3c62 
					 
					
						
						
							
							feat: ECDSA peripheral while performing http connection with mutual auth  
						
						
						
						
					 
					
						2023-11-17 16:24:10 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						9525da0908 
					 
					
						
						
							
							fix(esp_http_client): Call event_handler after header value is received  
						
						
						
						
					 
					
						2023-10-05 10:23:27 +05:30 
						 
				 
			
				
					
						
							
							
								Mahavir Jain 
							
						 
					 
					
						
						
							
						
						0122d6cead 
					 
					
						
						
							
							Merge branch 'feature/add_support_for_ds_peripheral_on_ota_v5.1' into 'release/v5.1'  
						
						... 
						
						
						
						feat(esp_http_client): Added support for OTA using ds peripheral for TLS (v5.1)
See merge request espressif/esp-idf!26091  
						
						
					 
					
						2023-09-28 03:23:12 +08:00 
						 
				 
			
				
					
						
							
							
								David Cermak 
							
						 
					 
					
						
						
							
						
						1363566b73 
					 
					
						
						
							
							fix(http_client): Set common tcp config to both TCP and SSL transport  
						
						... 
						
						
						
						Foundation transport contained TCP properties for both TCP and SSL
transport, so it was enough to set the TCP connection properties
(keepalive, interface binding) to one transport only. After merging
5778a7c7https://github.com/espressif/esp-protocols/issues/322  
						
						
					 
					
						2023-09-25 14:56:55 +02:00 
						 
				 
			
				
					
						
							
							
								Aditya Patwardhan 
							
						 
					 
					
						
						
							
						
						5fffeddf79 
					 
					
						
						
							
							feat(esp_http_client): Added support for OTA using ds peripheral for TLS  
						
						
						
						
					 
					
						2023-09-21 10:21:02 +05:30 
						 
				 
			
				
					
						
							
							
								Mahavir Jain 
							
						 
					 
					
						
						
							
						
						bdf8f1c382 
					 
					
						
						
							
							Merge branch 'contrib/github_pr_10715' into 'master'  
						
						... 
						
						
						
						Add user_data accessor and mutator to esp_http_client (GitHub PR)
Closes IDFGH-9337 and IDFGH-9221
See merge request espressif/esp-idf!22751  
						
						
					 
					
						2023-03-21 14:07:31 +08:00 
						 
				 
			
				
					
						
							
							
								Andrew Clink 
							
						 
					 
					
						
						
							
						
						82cdcc5de5 
					 
					
						
						
							
							Add user_data accessor and mutator to esp_http_client  
						
						... 
						
						
						
						Closes: https://github.com/espressif/esp-idf/pull/10715  
						
						
					 
					
						2023-03-16 12:36:16 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						674fd8feb8 
					 
					
						
						
							
							esp_http_client: Add support for esp_events  
						
						
						
						
					 
					
						2023-03-15 11:48:11 +05:30 
						 
				 
			
				
					
						
							
							
								harshal.patil 
							
						 
					 
					
						
						
							
						
						32e78b71f3 
					 
					
						
						
							
							http_client: fixed looping caused when disable_auto_redirect enabled  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/10629  
						
						
					 
					
						2023-02-23 14:11:58 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						6e92edd848 
					 
					
						
						
							
							esp_http_client: fix debug log from LOGI to LOGD  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/10313  
						
						
					 
					
						2023-01-11 15:55:52 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						68ded2c350 
					 
					
						
						
							
							esp_http_client: fix -Werror-format compile errors for linux target  
						
						
						
						
					 
					
						2023-01-04 11:17:28 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						1c77e13d35 
					 
					
						
						
							
							esp_http_client: Update to support build for linux  
						
						
						
						
					 
					
						2023-01-04 11:17:28 +05:30 
						 
				 
			
				
					
						
							
							
								Mahavir Jain 
							
						 
					 
					
						
						
							
						
						bbc5914e63 
					 
					
						
						
							
							esp_http_client: remove "Wno-format" cflag and fix formatting errors  
						
						
						
						
					 
					
						2022-12-21 14:14:04 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						6de9e42122 
					 
					
						
						
							
							esp_http_client: Add feature to cancel an HTTP request  
						
						... 
						
						
						
						Closes: https://github.com/espressif/esp-idf/issues/9892  
						
						
					 
					
						2022-12-02 11:36:28 +05:30 
						 
				 
			
				
					
						
							
							
								Aditya Patwardhan 
							
						 
					 
					
						
						
							
						
						ba43063314 
					 
					
						
						
							
							esp_http_client: Add option to use secure_element  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/10071  
						
						
					 
					
						2022-11-17 14:43:35 +05:30 
						 
				 
			
				
					
						
							
							
								harshal.patil 
							
						 
					 
					
						
						
							
						
						5feb4696be 
					 
					
						
						
							
							fix: esp_http_client fix behaviour when disable_auto_redirect is enabled  
						
						
						
						
					 
					
						2022-10-27 14:04:54 +05:30 
						 
				 
			
				
					
						
							
							
								Mahavir Jain 
							
						 
					 
					
						
						
							
						
						67e080471f 
					 
					
						
						
							
							esp_http_client: free cached data in case connection gets closed for redirection  
						
						... 
						
						
						
						In case of `esp_http_client_read` based workflow, we cache data that is received
during fetch header stage. In case, there is URL redirection and we have to close
the connection on URL, port change then we must discard earlier cached data.
Closes AUD-4158 
						
						
					 
					
						2022-10-20 12:45:06 +05:30 
						 
				 
			
				
					
						
							
							
								Aditya Patwardhan 
							
						 
					 
					
						
						
							
						
						4904d57fd9 
					 
					
						
						
							
							esp_http_client: Added support to set server common name.  
						
						
						
						
					 
					
						2022-09-13 05:31:43 +00:00 
						 
				 
			
				
					
						
							
							
								David Cermak 
							
						 
					 
					
						
						
							
						
						5c383d7b73 
					 
					
						
						
							
							esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"  
						
						... 
						
						
						
						Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode) 
						
						
					 
					
						2022-07-20 14:59:07 +02:00 
						 
				 
			
				
					
						
							
							
								Laukik Hase 
							
						 
					 
					
						
						
							
						
						7115881a97 
					 
					
						
						
							
							esp_http_client/esp_https_ota: Removed errno checks  
						
						... 
						
						
						
						- Returned -ESP_ERR_HTTP_EAGAIN for timeout errors from
  esp_http_client whenever tcp transport layer returns
  connection timeout
- Removed redundant conditional statements as required
Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com > 
						
						
					 
					
						2022-05-31 15:04:21 +05:30 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						437d90c408 
					 
					
						
						
							
							esp_http_client: Fix redirect by resetting auth_header before parsing  
						
						
						
						
					 
					
						2022-04-25 05:16:49 +00:00 
						 
				 
			
				
					
						
							
							
								Shubham Kulkarni 
							
						 
					 
					
						
						
							
						
						b4456bff97 
					 
					
						
						
							
							esp_http_client: Add comment for clearing location field in esp_http_client_prepare  
						
						
						
						
					 
					
						2022-03-24 06:23:17 +00:00 
						 
				 
			
				
					
						
							
							
								Nicklas Frahm 
							
						 
					 
					
						
						
							
						
						660ca96e23 
					 
					
						
						
							
							esp_http_client: fix redirect by resetting location before parsing  
						
						... 
						
						
						
						Closes  #8563 .
Signed-off-by: Nicklas Frahm <nicklas.frahm@gmail.com > 
					
						2022-03-24 06:23:17 +00:00 
						 
				 
			
				
					
						
							
							
								Shubham Kulkarni 
							
						 
					 
					
						
						
							
						
						ec6f222625 
					 
					
						
						
							
							esp_http_client: Add new status code 303 and 308  
						
						
						
						
					 
					
						2022-03-21 04:27:43 +00:00 
						 
				 
			
				
					
						
							
							
								Shubham Kulkarni 
							
						 
					 
					
						
						
							
						
						18fa343161 
					 
					
						
						
							
							esp_http_client: Cache received data in http_on_body callback.  
						
						... 
						
						
						
						This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers. 
						
						
					 
					
						2022-03-01 15:41:36 +00:00 
						 
				 
			
				
					
						
							
							
								Laukik Hase 
							
						 
					 
					
						
						
							
						
						ca84d2d6c9 
					 
					
						
						
							
							esp_http_client: Added event for HTTP redirect  
						
						... 
						
						
						
						- Allows users to manually intercept and process the HTTP redirection
 when disable_auto_redirect (from the esp_http_client handle) is set to true
Closes https://github.com/espressif/esp-idf/issues/8029  
						
						
					 
					
						2022-01-12 11:40:32 +05:30 
						 
				 
			
				
					
						
							
							
								Chen Wu 
							
						 
					 
					
						
						
							
						
						c10683f493 
					 
					
						
						
							
							http: Fix parsing invalid url cause to crash  
						
						... 
						
						
						
						Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953  
						
						
					 
					
						2021-12-02 14:15:43 +08:00 
						 
				 
			
				
					
						
							
							
								xutao 
							
						 
					 
					
						
						
							
						
						10377ce2ff 
					 
					
						
						
							
							esp_http_client: add a get HTTP client session errno api for esp_http_client  
						
						
						
						
					 
					
						2021-11-24 17:23:09 +08:00 
						 
				 
			
				
					
						
							
							
								Shubham Kulkarni 
							
						 
					 
					
						
						
							
						
						5bf49e1cd6 
					 
					
						
						
							
							esp_http_client: Support handling larger content lengths  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/6580  
						
						
					 
					
						2021-10-29 18:14:22 +08:00 
						 
				 
			
				
					
						
							
							
								yuanjm 
							
						 
					 
					
						
						
							
						
						9f875b8db5 
					 
					
						
						
							
							esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/7777  
						
						
					 
					
						2021-10-28 19:53:12 +08:00 
						 
				 
			
				
					
						
							
							
								Harshit Malpani 
							
						 
					 
					
						
						
							
						
						2085e4eb92 
					 
					
						
						
							
							esp_http_client: apply generic error check macros  
						
						
						
						
					 
					
						2021-10-20 14:40:32 +05:30 
						 
				 
			
				
					
						
							
							
								Derossi Carneiro Neto 
							
						 
					 
					
						
						
							
						
						341d3e107c 
					 
					
						
						
							
							esp_http_client_cleanup, if client->transport_list was null, it generated an exception when calling esp_transport_list_destroy  
						
						... 
						
						
						
						https://github.com/espressif/esp-idf/pull/7695 
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com > 
					
						2021-10-18 10:50:45 +05:30 
						 
				 
			
				
					
						
							
							
								Vikram Dattu 
							
						 
					 
					
						
						
							
						
						1c57dbcb3c 
					 
					
						
						
							
							esp_http_client: Fixed handling of EAGAIN return  
						
						... 
						
						
						
						For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com > 
						
						
					 
					
						2021-09-07 14:33:49 +05:30 
						 
				 
			
				
					
						
							
							
								Jon Maloney 
							
						 
					 
					
						
						
							
						
						c8b7f7a5d3 
					 
					
						
						
							
							esp_http_client: Support client key password for HTTPS connections.  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/pull/7420 
Closes https://github.com/espressif/esp-idf/issues/7418 
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com > 
						
						
					 
					
						2021-08-25 18:27:31 +05:30 
						 
				 
			
				
					
						
							
							
								yuanjm 
							
						 
					 
					
						
						
							
						
						fc8668a739 
					 
					
						
						
							
							esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/7361  
						
						
					 
					
						2021-08-17 19:53:47 +08:00 
						 
				 
			
				
					
						
							
							
								yuanjm 
							
						 
					 
					
						
						
							
						
						981287900e 
					 
					
						
						
							
							esp_http_client: Support HTTP_EVENT_ERROR event  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/7280  
						
						
					 
					
						2021-08-02 14:33:50 +08:00 
						 
				 
			
				
					
						
							
							
								yuanjm 
							
						 
					 
					
						
						
							
						
						02367b44ef 
					 
					
						
						
							
							esp_http_client: Fix when receive FIN, close the connection in internal.  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/7036  
						
						
					 
					
						2021-07-23 12:16:17 +08:00 
						 
				 
			
				
					
						
							
							
								Jan Brudny 
							
						 
					 
					
						
						
							
						
						967e057906 
					 
					
						
						
							
							esp-tls, esp_http_client and esp_http_server: update copyright notice  
						
						
						
						
					 
					
						2021-05-31 20:06:09 +08:00 
						 
				 
			
				
					
						
							
							
								0xFEEDC0DE64 
							
						 
					 
					
						
						
							
						
						0f3ad80a99 
					 
					
						
						
							
							const corrections for esp_http_client_set_password()  
						
						... 
						
						
						
						Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com >
Closes: https://github.com/espressif/esp-idf/pull/6941  
						
						
					 
					
						2021-05-10 13:03:09 +05:30 
						 
				 
			
				
					
						
							
							
								yuanjm 
							
						 
					 
					
						
						
							
						
						754ec7b278 
					 
					
						
						
							
							esp_http_client: Add API to set http client timeout value  
						
						... 
						
						
						
						Closes https://github.com/espressif/esp-idf/issues/6984  
						
						
					 
					
						2021-05-06 13:55:12 +08:00 
						 
				 
			
				
					
						
							
							
								Shubham Kulkarni 
							
						 
					 
					
						
						
							
						
						b148433fbd 
					 
					
						
						
							
							esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL  
						
						... 
						
						
						
						Closes: https://github.com/espressif/esp-idf/issues/6772  
						
						
					 
					
						2021-04-21 17:28:54 +05:30 
						 
				 
			
				
					
						
							
							
								Aditya Patwardhan 
							
						 
					 
					
						
						
							
						
						f66bdf1233 
					 
					
						
						
							
							esp_http_client: Enable support of crt_bundle in esp_http_client  
						
						
						
						
					 
					
						2021-04-07 05:31:21 +00:00