added support for large WebSocket frames

This commit is contained in:
lujji 2017-02-03 07:33:27 +00:00
parent bce2139f06
commit 3b5397f2a4
3 changed files with 70 additions and 32 deletions

View file

@ -1,4 +1,11 @@
Maintained by lujji (https://github.com/lujji/esp-httpd).
This is a basic HTTP server with WebSockets based on httpd from LwIP.
Note: this module expects your project to provide "fsdata.c" created with "makefsdata" utility.
WebSockets implementation supports binary and text modes. Multiple sockets are supported. Continuation frames are not implemented.
By default, a WebSocket is closed after 20 seconds of inactivity to conserve memory. This behavior can be changed by overriding `WS_TIMEOUT` option.
To enable debugging extra flags `-DLWIP_DEBUG=1 -DHTTPD_DEBUG=LWIP_DBG_ON` should be passed at compile-time.
This module expects your project to provide "fsdata.c" created with "makefsdata" utility.
See examples/http_server.
Maintained by lujji (https://github.com/lujji/esp-httpd).