- 01 Dec, 2016 1 commit
-
-
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
-
- 18 Nov, 2016 2 commits
-
-
Marko Mikulicic authored
PUBLISHED_FROM=cccd28ef43ec4e08fa52340ce78bda10db5ac27a
-
Sergey Lyubka authored
PUBLISHED_FROM=f45d9832a884374f6f9ea3f2e0a8c9465f214896
-
- 17 Nov, 2016 2 commits
-
-
Marko Mikulicic authored
PUBLISHED_FROM=182c43c3bd82190cb816c8ebaddccc13a94950d0
-
Alexander Alashkin authored
PUBLISHED_FROM=51c44c445309aa0850b227949a0a0a6be433d08c
-
- 16 Nov, 2016 2 commits
-
-
Alexander Alashkin authored
PUBLISHED_FROM=5025692f3f4593b3ea38af51f8f49e1ac4df6b88
-
Alexander Alashkin authored
PUBLISHED_FROM=56ff5afe805e4680e02183a8c3887ea60ee5ebfe
-
- 15 Nov, 2016 4 commits
-
-
Dmitry Frank authored
`MG_ENABLE_...` macros are not yet renamed because it involves some logic change: e.g. instead of defining `MG_ENABLE_MQTT`, one should define `MIOT_ENABLE_MQTT`, which should imply `MG_ENABLE_MQTT` as well. Macro refactoring is going to be done in another PR. PUBLISHED_FROM=f8b66d5772846126b94223a729a6bd87897f8de6
-
Alexander Alashkin authored
PUBLISHED_FROM=4fdfa61e7b3b62083b0ac8fe74dd2dd3793f50fe
-
Dmitry Frank authored
PUBLISHED_FROM=c56b4ae00c454e6931ab29b095641bf0222f860c
-
Dmitry Frank authored
It wasn't checked for `NULL`, and on CC3200 NULL dereferencing addresses doesn't cause a crash, so it worked by pure luck: ctx->ssl_key was 0. After `mg_` to `miot_` refactoring it's not the case anymore (presumably because linker arranged objects in a different order), so this bug shown up. PUBLISHED_FROM=0f1cc73a078c18432c68ae0f9b14dd06b3bb4279
-
- 14 Nov, 2016 5 commits
-
-
Marko Mikulicic authored
PUBLISHED_FROM=0454cdeec5c7120eb4bf905fdd5b7abdcb4003c2
-
Sergey Lyubka authored
PUBLISHED_FROM=196199fd02ec9b20d1e76d1414bfafa624f9ebce
-
Marko Mikulicic authored
in light of the root cause discovered by rojer and addressed in cesanta/dev#5882 for the http connection code path. PUBLISHED_FROM=aea563150a0411cbe3fdc6f7911529f3136cc76f
-
Deomid Ryabkov authored
CC3200 (TI's C library) doesn't like it https://e2e.ti.com/support/development_tools/compiler/f/343/t/554883 PUBLISHED_FROM=d0e9fb7ebb7d189d1a76451d609f1f1861c7a837
-
Marko Mikulicic authored
PUBLISHED_FROM=8449d4df2a4caf7afc0f9b50f85bb01d79b8c4eb
-