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
yuanjm
63ed429a49
fix(example): Fix wss_server_example not close socket
...
Closes https://github.com/espressif/esp-idf/issues/9163
2022-06-20 03:01:38 +00:00
yuanjm
b9b1a7aba8
fix(websocket): Support handler deal with PING and CLOSE frame
...
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
Mahavir Jain
af1f342ee8
Merge branch 'fix/make_esp_tls_t_private' into 'master'
...
Make esp_tls_t as private structure
Closes IDF-2812
See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
Harshit Malpani
2c56c6cad8
Updated coding style and added error logs
2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8
Don't ignore return value of httpd_stop
2022-05-11 08:58:01 +00:00
Aditya Patwardhan
26a15058d3
Add sdkconfig.h to protocol/https* examples
2022-05-11 07:09:34 +00:00
Harshit Malpani
94056fd4a5
esp_https_server: API cleanup
2022-02-14 16:25:54 +05:30
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
yuanjm
3874c20b5d
esp_http_server: Fix examples parse ws keep-alive packet fail.
2021-03-16 09:55:02 +05:30
yuanjm
a1d5cfc260
example: Identify the callback whether is hanshake or frame-receive by req->method
...
Now the uri handler gets called immediately after the handshake. In the handler we can identify that this was the handshake by checking req->method as it is still a GET from the first part of the handshake the client has sent. On a normal websocket-frame-receive (when normally a websocket uriHandler gets called) this field is set to 0
Closes https://github.com/espressif/esp-idf/issues/6597
2021-03-09 07:32:15 +00:00
yuanjm
cd521d4ae3
esp_http_server: support dynamic payload len for ws server
...
Closes https://github.com/espressif/esp-idf/issues/6433
2021-02-24 11:40:34 +00:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
David Cermak
6f3fa81863
http_server: Simplified httpd_get_client_list() to return clients in int array
2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9
http_server: Add a flag to enable using control frames in user handlers
2020-09-09 08:00:20 +02:00
David Cermak
76ca826758
https_server example: Add new WSS server example
...
Added a new https server example with WS support which runs
* keep-alive thread to send PINGs to clients
* async message to all active WS clients
Moved the existing https-server example to a subfolder
Closes https://github.com/espressif/esp-idf/issues/5733
Closes https://github.com/espressif/esp-idf/issues/5686
2020-09-09 08:00:38 +02:00