Skip to content
Snippets Groups Projects
  1. Jul 07, 2018
  2. Jul 03, 2018
  3. Jun 21, 2018
  4. Apr 26, 2018
  5. Apr 13, 2018
  6. 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
  7. Apr 03, 2018
  8. 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
  9. 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
  10. Feb 18, 2018
  11. 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
  12. 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
  13. Feb 03, 2018
  14. 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
  15. 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
  16. Jan 29, 2018
  17. 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
  18. Jan 12, 2018
  19. Jan 04, 2018
  20. Dec 17, 2017
  21. Dec 14, 2017
  22. Dec 04, 2017
    • Dmitry Frank's avatar
      Improve docs · be63c0dc
      Dmitry Frank authored
      PUBLISHED_FROM=3b75fd8247ba9028e0ef0c3e211e7c1a80013951
      be63c0dc
  23. Nov 28, 2017
  24. Nov 24, 2017
  25. Nov 23, 2017
  26. Nov 08, 2017
  27. Oct 31, 2017
  28. Oct 24, 2017
  29. Oct 19, 2017
  30. Oct 18, 2017
  31. Sep 13, 2017
  32. Sep 12, 2017
  33. Sep 06, 2017
  34. Aug 31, 2017
Loading