- 13 Dec, 2016 2 commits
-
-
Deomid Ryabkov authored
Factor out common part of SPIFFS libc interface support from the CC3200 port and reuse it for ESP32. Minor cleanups. PUBLISHED_FROM=19ad4049372f83046abd8eba29cfc7c2cc405671
-
Sergey Lyubka authored
PUBLISHED_FROM=41f43cb0e707259740de3346308f746c2a3778fd
-
- 12 Dec, 2016 1 commit
-
-
Dmitry Frank authored
This PR does not include `fw/platforms/pic32` since it's too dirty. PUBLISHED_FROM=db50ba389202da80355aafe5f2c1ceeca7bffe41
-
- 09 Dec, 2016 4 commits
-
-
Deomid Ryabkov authored
Fix errors so it builds. PUBLISHED_FROM=db9fc9ef997d6b1847117e8db9aefdc7e540f4cc
-
Dmitry Frank authored
PUBLISHED_FROM=00ca7b2adabde94a683ac4d33be1f2bdbb17772f
-
Dmitry Frank authored
Namely, define it if only `MG_ENABLE_HTTP_STREAMING_MULTIPART` and `MG_ENABLE_FILESYSTEM` are on PUBLISHED_FROM=3094738a4b76ceb09a3c2374e8d9d914b71c3441
-
Alexander Alashkin authored
PUBLISHED_FROM=2f6fb7ea5abdcd4ca9b06956172938ee3bc28459
-
- 08 Dec, 2016 3 commits
-
-
Dmitry Frank authored
And use it for `FW_ARCHITECTURE`. This is needed because with Microchip's xc32, `-DFOO=\"bar\"` results in `FOO` being `bar`, not `"bar"`, so we have to stringify differently. PUBLISHED_FROM=d0aeebb55ef9e0e92a7f750104cd6600e0d9c636
-
Alexander Alashkin authored
PUBLISHED_FROM=bd87b901b7c1c1a4f9b0f875f0b024b672121d4a
-
Alexander Alashkin authored
PUBLISHED_FROM=6abc158f198f5bd032e5ab06cc0ba3373434cdbe
-
- 07 Dec, 2016 2 commits
-
-
Marko Mikulicic authored
PUBLISHED_FROM=4d86de7f73ef9d4c0f236e1fe1201e5de792f19f
-
Sergey Lyubka authored
PUBLISHED_FROM=fb856714ead67390dfd7ce9d208ae5ae19ce7c6d
-
- 02 Dec, 2016 2 commits
-
-
Dmitry Frank authored
On PIC32MZ, this is required to get `ntohl` and friends. PUBLISHED_FROM=82ab532cd3757df6f79215f3eaca90cd87f6c965
-
Alexander Alashkin authored
PUBLISHED_FROM=3c5859f06ab838bba7c95c4878c4e7e883329810
-
- 01 Dec, 2016 2 commits
-
-
Sergey Lyubka authored
PUBLISHED_FROM=5b63325ade34b9032476fc88ac407816990f1cfc
-
Alexander Alashkin authored
PUBLISHED_FROM=ca0ae588290f133ef7640ca538847a63c0cb544b
-
- 29 Nov, 2016 3 commits
-
-
Alexander Alashkin authored
PUBLISHED_FROM=e6fb19c5256b6d43359f21b325e16b415152f26f
-
Alexander Alashkin authored
PUBLISHED_FROM=764ea806a5d31bd545a5d99de80e2ee0234ebcab
-
Alexander Alashkin authored
PUBLISHED_FROM=26becdaf7dd61481b88b166ea87d44a7bc796660
-
- 28 Nov, 2016 4 commits
-
-
Deomid Ryabkov authored
Assume handshake request was declined if either MG_F_CLOSE_IMMEDIATELY _or_ MG_F_SEND_AND_CLOSE is set. PUBLISHED_FROM=60af32a3f8890e826205465b9add2f58b1d46e5f
-
Deomid Ryabkov authored
Free keys and cert before conf, not after PUBLISHED_FROM=5628f56eb6973a779179d641fb425d0f14db39cf
-
Deomid Ryabkov authored
Renegotiation is disabled, so we don't need them. Reduces per-connection usage when idle by 3K. PUBLISHED_FROM=24b2ac9557107f7da412dae6a42257c9b7c812d5
-
Deomid Ryabkov authored
PUBLISHED_FROM=54774944d5402a5d6a351b4609428940c0ad20ea
-
- 27 Nov, 2016 1 commit
-
-
Deomid Ryabkov authored
- Only allow one TCP segment in flight. Each segment is 1.5K and it adds up. This may increase latency, but memory is precious on ESP. At teh same time, optimize use of tcp_output: do not send a new segment on every write, only call tcp_output at the end of connection processing during poll. - Build LWIP with DNS disabled. We have our won resolver, and LWIP's allocates large static buffers (1K). - mbedTLS: Deallocate peer's certificate at the end of SSL handshake, reduces idle SSL connection footprint by ~1.5K. Some tweaks to the heap log viewer (which made all the above possible). PUBLISHED_FROM=6e84bba64eacb2d737561e09313918104921ea80
-
- 25 Nov, 2016 3 commits
-
-
Deomid Ryabkov authored
Also performs trnasparent SPIFFS -> SLFS cert copy. If the file's extension is .pem, convert it to DER format and put on SLFS. PUBLISHED_FROM=364caab21969ca28a05802c4dde93a11d1e0feda
-
Dmitry Frank authored
Also fixed a memory leak on reconnect: previously, each reconnect was creating a `struct mg_connection` which was never reclaimed PUBLISHED_FROM=eefdcf557e032ac81d5ed3aba55ac912e400148e
-
Alexander Alashkin authored
PUBLISHED_FROM=8e37c51c6b0bf7d0782f3a997360827471b95d2e
-
- 24 Nov, 2016 4 commits
-
-
Alexander Alashkin authored
PUBLISHED_FROM=b17ef5bc8ec801fca91c89af5f97767a55911952
-
Deomid Ryabkov authored
PUBLISHED_FROM=e1bb89268dfc4d51880b89b07fb2f69cb49e053b
-
Deomid Ryabkov authored
Useful for debugging at level 3 PUBLISHED_FROM=b6a4565df0de0dccf37c182c71d2f4c852f2291a
-
Alexander Alashkin authored
PUBLISHED_FROM=ac54bcbc81a9ee688e8b90e261172be76a9fbacd
-
- 23 Nov, 2016 3 commits
-
-
Dmitry Frank authored
The only client of `mg_http_common_url_parse` (namely, `mg_connect_http_base`) expects `port_i` to be the index in the address string at which the port was added. PUBLISHED_FROM=b095926b5485e4674e3c59ff8481171831fb61ae
-
Deomid Ryabkov authored
Needed by TI libc for use with add_device PUBLISHED_FROM=ff0713c5f4d04810894d8e1a82aaac25aa101365
-
Marko Mikulicic authored
PUBLISHED_FROM=ea64670e42ae58bbe26abee5d928f2afcd83bd46
-
- 22 Nov, 2016 4 commits
-
-
Sergey Lyubka authored
PUBLISHED_FROM=01d691c9e06486cab0903b8db98e56fffc3fb234
-
Deomid Ryabkov authored
If the path starts with /, do not drop it. There are no directories on SLFS, but use of /pretend/paths/to/files.txt is common. What we do drop is the ./ prefix (added by mongoose when document_root=.) PUBLISHED_FROM=5108bc078dfaf8f8afa4db554b4769d9d7b8a103
-
Deomid Ryabkov authored
PUBLISHED_FROM=a733ba6e06887a448f96f92679f6f8adbe9c61f7
-
Ilia Penev authored
PUBLISHED_FROM=f1a804466bea6d6d77103525d76ef7b819b63477
-
- 21 Nov, 2016 2 commits
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=f7fb01509b3f3982724cc3b05e357d8dd385a546
-
Marko Mikulicic authored
PUBLISHED_FROM=7c6cb5517d0d2b13f29af29c511dd7f0baa5acc6
-