1. 12 Mar, 2018 1 commit
  2. 08 Feb, 2018 1 commit
  3. 07 Feb, 2018 4 commits
    • 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
    • Deomid Ryabkov's avatar
      Minor tweaks for testing · a8a7d2cf
      Deomid Ryabkov authored
      PUBLISHED_FROM=d52aea1648ed8ec8dd2e71168884795d995b1826
      a8a7d2cf
    • Deomid Ryabkov's avatar
      Commonize unit test main() · 50ecc30b
      Deomid Ryabkov authored
      CL: none
      
      PUBLISHED_FROM=ee76407d89f3fcbe3da23810117a374d06af0a25
      50ecc30b
    • Deomid Ryabkov's avatar
      Add a convenience macro invoke subroutines · cd89db5c
      Deomid Ryabkov authored
      To properly fail a test in a subroutine, return value needs to be passed up.
      This snippet makes it short.
      
      PUBLISHED_FROM=2f6328b5eb2921a4caa53d8887c02f73a5d817ea
      cd89db5c
  4. 06 Feb, 2018 2 commits
  5. 05 Feb, 2018 2 commits
  6. 02 Feb, 2018 6 commits
  7. 01 Feb, 2018 2 commits
    • 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. 30 Jan, 2018 13 commits
  9. 29 Jan, 2018 1 commit
  10. 27 Jan, 2018 1 commit
    • Бобби'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
  11. 18 Jan, 2018 1 commit
  12. 16 Jan, 2018 1 commit
  13. 15 Jan, 2018 1 commit
  14. 12 Jan, 2018 1 commit
  15. 04 Jan, 2018 1 commit
  16. 02 Jan, 2018 1 commit
  17. 29 Dec, 2017 1 commit