Skip to content
Snippets Groups Projects
  1. Sep 06, 2018
    • Deomid Ryabkov's avatar
      STM32: Make LWIP optional · 20f54059
      Deomid Ryabkov authored
      CL: STM32: Make LWIP optional
      
      PUBLISHED_FROM=eebffe7800a74d7b69aafd95e476b2e90328be98
      20f54059
    • Deomid Ryabkov's avatar
      Add net_if_null, a no-op net interface · 563c3130
      Deomid Ryabkov authored
      Can be used for cases where device has no networking but mongoose is still needed for its event loop.
      
      CL: mg: Add net_if_null, a no-op net interface
      
      PUBLISHED_FROM=e79b4a8667508bbde1437dda9dad77ce3a3aa630
      563c3130
    • Deomid Ryabkov's avatar
      Refactor mg polling · 421e099f
      Deomid Ryabkov authored
       * Change return type of mg_mgr_poll to return number of events
       * Add mg_mgr_min_timer
       * Refactor main poll loop to remove LwIP-specific stuff
      
      CL: Refactor mg polling
      
      PUBLISHED_FROM=dc94618b32fa3c84a2f053bd04d134297780ec82
      421e099f
  2. Aug 13, 2018
    • Deomid Ryabkov's avatar
      Mongoose 6.12 · 0a3e186f
      Deomid Ryabkov authored
      CL: Mongoose 6.12
      
      PUBLISHED_FROM=8008e4db2f6d94d972fb6e1077525e262c8744aa
      0a3e186f
  3. Jul 07, 2018
  4. Jul 03, 2018
  5. Jun 21, 2018
  6. Apr 26, 2018
  7. Apr 13, 2018
  8. Apr 10, 2018
    • Deomid Ryabkov's avatar
      Add mg_url_encode_opt() · e89be2e9
      Deomid Ryabkov authored
      CL: Add `mg_url_encode_opt()` - a parametrized version of `mg_url_encode()`
      
      PUBLISHED_FROM=17fa57a7a5325b51b6e3aef3855eac4e82c35782
      e89be2e9
  9. Apr 03, 2018
  10. Mar 31, 2018
    • Deomid Ryabkov's avatar
      Mongoose net_if and ssl_if refactoring · 3e33e577
      Deomid Ryabkov authored
      A major cleanup, disentangling net_if and ssl_if.
      Pulled a lot of common logic into the core and reduced size of net_if implementations.
      
      CL: Mongoose net_if and ssl_if refactoring
      
      PUBLISHED_FROM=29bd4dcb264a1fd96b3dd164e2d880e1c2c0921e
      3e33e577
  11. Mar 22, 2018
    • Deomid Ryabkov's avatar
      Improve mbuf allocation behavior · 0a90cab4
      Deomid Ryabkov authored
       * Limit total amount of headroom, in absolute terms (`MBUF_SIZE_MAX_HEADROOM`).
       * If unable to allocate with headroom, fall back to allocating the required minimum.
       * For mOS, set default `MBUF_SIZE_MULTIPLIER` to 2 to avoid floating point operations.
         Since max headroom size is now capped to 128 bytes, this will not result in much of a bloat.
      
      PUBLISHED_FROM=11d4fc65a46a805bb7c8960f89a3d0b753c58bb8
      0a90cab4
  12. Feb 18, 2018
  13. 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
  14. 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
  15. Feb 03, 2018
  16. 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
  17. 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
  18. Jan 29, 2018
  19. 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
  20. Jan 12, 2018
  21. Jan 04, 2018
  22. Dec 17, 2017
  23. Dec 14, 2017
  24. Dec 04, 2017
    • Dmitry Frank's avatar
      Improve docs · be63c0dc
      Dmitry Frank authored
      PUBLISHED_FROM=3b75fd8247ba9028e0ef0c3e211e7c1a80013951
      be63c0dc
  25. Nov 28, 2017
  26. Nov 24, 2017
  27. Nov 23, 2017
  28. Nov 08, 2017
  29. Oct 31, 2017
  30. Oct 24, 2017
  31. Oct 19, 2017
  32. Oct 18, 2017
  33. Sep 13, 2017
Loading