Add sockfd field to esp_https_server_user_cb_arg_t (IDFGH-10937) #12132
Labels
Resolution: Won't Do
This will not be worked on
Status: Done
Issue is done internally
Type: Feature Request
Feature request for IDF
Is your feature request related to a problem?
I have trouble putting the esp_https_server to use with authenticated clients.
Previous remarks I made resulted in adding functionality, however one of the fields I suggested was dropped. See (IDFGH-6652) #8288.
The user_cb is good to pass me the TLS info, but if I want to match that later on (in handlers of the HTTPS server), I don't seem to know which session I'm in.
The socket appears like a good handle for that. It was in my sample code but got dropped, I am asking again to include it.
Describe the solution you'd like.
Describe alternatives you've considered.
See https://sourceforge.net/p/esp32s3-4827s043/code/HEAD/tree/trunk/https/main/WebServer.cpp
specifically the WebServer::isPeerSecure() to see where I need additional info.
Please take commit #81, in a later version I'm speculating that you'll help me by adding this field ;-)
Additional context.
No response
The text was updated successfully, but these errors were encountered: