Skip to content
Snippets Groups Projects
  1. Sep 14, 2018
    • Sergey Lyubka's avatar
      Docs nits · 291fc024
      Sergey Lyubka authored
      CL: Docs nits
      
      PUBLISHED_FROM=1a2fc8080d94673acf300c6f07aba3a1e6272295
      291fc024
  2. Sep 06, 2018
    • 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
  3. 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
  4. Feb 08, 2018
    • 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
  5. Feb 03, 2018
  6. 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
  7. 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
  8. Nov 28, 2017
  9. Aug 22, 2017
  10. 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
  11. Jul 02, 2017
  12. Jul 01, 2017
  13. Jun 28, 2017
  14. Jun 26, 2017
  15. Jun 04, 2017
  16. May 06, 2017
    • Sergey Lyubka's avatar
      Move struct http_message::body · cfe77a3d
      Sergey Lyubka authored
      Rationale: this is the optimisation to make JS FFI-ed API
      work nicer. We don't have strucuture introspection now,
      and do not generate offsets automatially. Thus, using a
      stable well-known location of the parsed message body is
      better, in case of number of HTTP headers macro changes.
      
      PUBLISHED_FROM=55bf25ac77060a9c81dfecd6601f037562530801
      cfe77a3d
  17. Apr 27, 2017
  18. Apr 24, 2017
  19. Mar 24, 2017
  20. Mar 21, 2017
    • Yiming Sun's avatar
      Fix typo · 14094aae
      Yiming Sun authored
      PUBLISHED_FROM=56fdeaf4965ef26c398267c8656735bb52e45085
      14094aae
  21. Mar 20, 2017
  22. Mar 15, 2017
  23. Mar 11, 2017
  24. Mar 01, 2017
  25. Feb 28, 2017
  26. Feb 24, 2017
    • Dmitry Frank's avatar
      Fix subscription to wildcard topics · 39429149
      Dmitry Frank authored
      `mg_mqtt_match_topic_expression()` and friends are public now.
      
      So far, only `#` is supported.
      
      PUBLISHED_FROM=20c031bcf34be84771c4a9c456318634eb9a517c
      39429149
  27. Feb 15, 2017
  28. Feb 09, 2017
  29. Jan 30, 2017
  30. Jan 10, 2017
  31. Nov 25, 2016
  32. Nov 18, 2016
  33. Nov 17, 2016
  34. Nov 14, 2016
Loading