1. 27 Nov, 2016 1 commit
    • Deomid Ryabkov's avatar
      Minor memory shavings on ESP8266; ~2.5K less · e17fdcb0
      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
      e17fdcb0
  2. 25 Nov, 2016 3 commits
  3. 24 Nov, 2016 4 commits
  4. 23 Nov, 2016 3 commits
    • Dmitry Frank's avatar
      Fix mg_http_common_url_parse · 1ff61837
      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
      1ff61837
    • Deomid Ryabkov's avatar
      Reinstate fs_slfs_rename stub · 3a8464e4
      Deomid Ryabkov authored
      Needed by TI libc for use with add_device
      
      PUBLISHED_FROM=ff0713c5f4d04810894d8e1a82aaac25aa101365
      3a8464e4
    • Marko Mikulicic's avatar
      Fix clang formatting · 39b0b8e2
      Marko Mikulicic authored
      PUBLISHED_FROM=ea64670e42ae58bbe26abee5d928f2afcd83bd46
      39b0b8e2
  5. 22 Nov, 2016 4 commits
  6. 21 Nov, 2016 2 commits
  7. 18 Nov, 2016 2 commits
  8. 17 Nov, 2016 2 commits
  9. 16 Nov, 2016 2 commits
  10. 15 Nov, 2016 4 commits
    • Dmitry Frank's avatar
      Rename `mg_` -> `miot_` under fw · 0ceee1dc
      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
      0ceee1dc
    • Alexander Alashkin's avatar
      Fix mg_match_prefix · 8a6cf95f
      Alexander Alashkin authored
      PUBLISHED_FROM=4fdfa61e7b3b62083b0ac8fe74dd2dd3793f50fe
      8a6cf95f
    • Dmitry Frank's avatar
      Minor formatting fix · 37a7031f
      Dmitry Frank authored
      PUBLISHED_FROM=c56b4ae00c454e6931ab29b095641bf0222f860c
      37a7031f
    • Dmitry Frank's avatar
      Fix simplelink SSL context · 8874f3de
      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
      8874f3de
  11. 14 Nov, 2016 7 commits
  12. 11 Nov, 2016 4 commits
  13. 10 Nov, 2016 2 commits