Skip to content
Snippets Groups Projects
  1. Feb 08, 2018
    • Dmitry Frank's avatar
      Bump mongoose version to 6.11 · 2a3cfc98
      Dmitry Frank authored
      PUBLISHED_FROM=92604e1b7c65009a6214fea9f1b2460df721d38e
    • Dmitry Frank's avatar
      Implement mg_http_parse_header2() · b9b20c64
      Dmitry Frank authored
      Which is a replacement of (deprecated) `mg_http_parse_header`, but,
      similarly to `asprintf`, allocates a new buffer if the client-provided
      one is not large enough.
      
      Also use it throughout mongoose code, and thus some header-related
      limitations are removed; in particular,
      https://github.com/cesanta/mongoose/issues/813 is fixed.
      
      CL: Mongoose Web Server: Deprecate `mg_http_parse_header()` and implement `mg_http_parse_header2()` instead, which allocates a new buffer if the client-provided one is not large enough (similarly to `asprintf`).
      CL: Mongoose Web Server: Fix limitations of header value lengths, e.g. when parsing authentication headers such as nonce, etc.
      
      PUBLISHED_FROM=c75b1bbbbdb294ea85075ce69b1368f115fdd1ef
      b9b20c64
  2. Feb 05, 2018
    • Dmitry Frank's avatar
      Remove "mongoose" prefix from includes · c3d9d17e
      Dmitry Frank authored
      In certain files it was necessary to make tests work from public
      mongoose repo, so this commit makes things consistent.
      
      PUBLISHED_FROM=694454d0ff007229c65d524a2a2beaf126420f15
      c3d9d17e
  3. Feb 03, 2018
  4. Feb 02, 2018
    • Dmitry Frank's avatar
      Remove tunneling from mongoose · f29457e9
      Dmitry Frank authored
      CL: Mongoose Web Server: Remove tunneling functionality which was used by nobody
      
      PUBLISHED_FROM=38b9e8ae7b0a5a1dbba5cff4074843dc681267d3
      f29457e9
  5. Feb 01, 2018
    • Dmitry Frank's avatar
      Fix nonce in digest authentication · 47abc641
      Dmitry Frank authored
      CL: Mongoose Web Server: Digest authentication: Fix nonce validity check (expired nonce or nonce from the future did not cause the the check to fail)
      CL: Mongoose Web Server: Digest authentication: Fix nonce request value; it worked before because nonce validity check was broken as well
      CL: Mongoose Web Server: Digest authentication: Add `nonce` argument to `mg_http_create_digest_auth_header()`: clients should use the value received from the server's authentication request.
      
      Resolves https://github.com/cesanta/mongoose/issues/809
      
      PUBLISHED_FROM=5e59f90ed6b2a4311ed6763159da81c2aaf6af4c
      47abc641
    • Dmitry Frank's avatar
      Improve websocket implementation · 7519b2ef
      Dmitry Frank authored
      CL: Mongoose Web Server: Websocket: Respond to Ping with Pong
      CL: Mongoose Web Server: Websocket: Properly close a connection with Close frame (in response to a client's close and when protocol failure is detected)
      CL: Mongoose Web Server: Websocket: Fix support of fragmented messages
      CL: Mongoose Web Server: Websocket: Add support for control frames interjected in the middle of a fragmented message
      
      PUBLISHED_FROM=e2b3794aaacc64633540c493194cccc62afa2077
      7519b2ef
  6. Jan 29, 2018
  7. Jan 27, 2018
    • Бобби's avatar
      Fix OOB access in mg_match_prefix_n() · 961fb96b
      Бобби authored
      CL: Fix OOB access in mg_match_prefix_n().
          Made mg_match_prefix_n() return non-negative result.
      
      PUBLISHED_FROM=611454df6a6c55bfa7ddf05e7d268a86fa0457a8
      961fb96b
  8. Jan 12, 2018
  9. Jan 04, 2018
  10. Dec 17, 2017
  11. Dec 14, 2017
  12. Dec 04, 2017
    • Dmitry Frank's avatar
      Improve docs · be63c0dc
      Dmitry Frank authored
      PUBLISHED_FROM=3b75fd8247ba9028e0ef0c3e211e7c1a80013951
      be63c0dc
  13. Nov 28, 2017
  14. Nov 24, 2017
  15. Nov 23, 2017
  16. Nov 08, 2017
  17. Oct 31, 2017
  18. Oct 24, 2017
  19. Oct 19, 2017
  20. Oct 18, 2017
  21. Sep 13, 2017
  22. Sep 12, 2017
  23. Sep 06, 2017
  24. Aug 31, 2017
  25. Aug 30, 2017
    • Deomid Ryabkov's avatar
      CC3220: GPIO, sys_config and mgos_init support · 20230095
      Deomid Ryabkov authored
      ```
      Using port /dev/ttyACM0
      [Aug 30 19:33:02.105]
      [Aug 30 19:33:02.114] cc32xx_init          c_no_libs 1.0 (20170830-163205/mos8@6587ffd6+)
      [Aug 30 19:33:02.123] cc32xx_init          Mongoose OS 2017083016 (20170830-163205/mos8@6587ffd6+)
      [Aug 30 19:33:02.130] cc32xx_init          RAM: 253588 total, 240044 free
      [Aug 30 19:33:04.430] cc32xx_start_nwp     NWP v3.4.0.0 started, host driver v2.0.1.19
      [Aug 30 19:33:04.437] mgos_vfs_dev_open    slfs_container ({"prefix": "spiffs.img.0"}) -> 20005a64
      [Aug 30 19:33:04.450] cc32xx_vfs_dev_slfs_ 20005a64 spiffs.img.0.0 262144 0xfffffffffffffffe
      [Aug 30 19:33:04.457] mgos_vfs_mount       Mount SPIFFS @ / (dev 20005a64, opts ) -> 20005a74
      [Aug 30 19:33:06.102] mgos_vfs_mount       /: size 233681, used: 4016, free: 229665
      [Aug 30 19:33:06.108] mgos_vfs_mount       Mount SLFS @ /slfs (dev 0, opts ) -> 20005ed4
      [Aug 30 19:33:06.114] mgos_vfs_mount       /slfs: size 0, used: 0, free: 0
      [Aug 30 19:33:06.718] mgos_sys_config_init MAC: 04A316459442
      [Aug 30 19:33:06.720] mgos_sys_config_init WDT: 30 seconds
      [Aug 30 19:33:06.724] Hello, world!
      [Aug 30 19:33:06.728] mgos_init            Init done, RAM: 253588 total, 236544 free, 235864 min free
      ```
      
      PUBLISHED_FROM=7e83c9ddcc642bd324a40e125d6636ece824fb18
      20230095
    • Deomid Ryabkov's avatar
      CC3220 FS support · c7bea65a
      Deomid Ryabkov authored
      For now, we only support SPIFFS-in-a-box, same as CC3200.
      On CC3200SF it should be possible to have SPIFFS on built-in flash, but that is left for later.
      
      PUBLISHED_FROM=dee337c8cd8ed288c22abe9960eef81e6e90cc4a
      c7bea65a
  26. Aug 29, 2017
  27. Aug 27, 2017
  28. Aug 26, 2017
    • Deomid Ryabkov's avatar
      CC3220 first steps · 38e984a0
      Deomid Ryabkov authored
      Achievement unlocked: CC3220 port prints a boot banner.
      Then locks up.
      
      Included in this PR is refactoring to pull out common parts to be shared with CC3200.
      
      PUBLISHED_FROM=5fb9d9a00bb9ce7f63dde20bc1876076b76d5257
      38e984a0
  29. Aug 24, 2017
    • Our CI Bot's avatar
      Add mqtt_over_websocket_server example · 09e42547
      Our CI Bot authored
      Fixed bug in websocket handshake:
      now adding Sec-WebSocket-Protocol header in handshake response.
      
      PUBLISHED_FROM=e4a71ff9dc4aeec63db40cb7f356dc5b25c1215a
      09e42547
  30. Aug 22, 2017
  31. Aug 21, 2017
    • Deomid Ryabkov's avatar
      CC3220 blinky · 6517af3d
      Deomid Ryabkov authored
      Ignore all the mess, this is just the beginning...
      
      PUBLISHED_FROM=41ab3c5af0b1d07204619dd4d8dc2e84b6a54f32
      6517af3d
  32. Aug 17, 2017
  33. Jul 27, 2017
  34. Jul 21, 2017
    • Deomid Ryabkov's avatar
      Make mg_url_encode public · 0fba87c7
      Deomid Ryabkov authored
      Change the API to heap-allocate the string and get rid of a bunch of fat stack buffers.
      
      PUBLISHED_FROM=c793dc64a9a044a9769d92ea16859f5d704a2181
      0fba87c7
Loading