AutoConnect icon indicating copy to clipboard operation
AutoConnect copied to clipboard

WebServer and esp_https_ota

Open DavidTruyens opened this issue 6 years ago • 2 comments

Hi,

I use the esp-https-ota in my project and would like to add AutoConnect. But I get an error when trying to add the WebServer:

.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp/http_parser.h:102:6: error: redeclaration of 'HTTP_OPTIONS'

The redeclaration is for all HTTP functions like:

  • HPPT_PUT
  • HTTP_HEAD
  • HTTP_GET
  • ...

Any suggestions?

I like the update to use HTTPS as it's a critical component. If I would switch to the AutoConnectUpdate it'll be using HTTP, right?

Thanks, David

DavidTruyens avatar Apr 25 '20 12:04 DavidTruyens

I had no idea to make WebServer class coexist with the ESP HTTP (similarly for HTTPS) client component used by esp-https-ota. Have you asked on espressif/arduino-esp32?

Hieromon avatar Apr 26 '20 11:04 Hieromon

Closed due to no activity.

Hieromon avatar Sep 28 '20 07:09 Hieromon