1. 22 Jan, 2019 1 commit
  2. 16 Jan, 2019 1 commit
  3. 02 Nov, 2018 1 commit
  4. 27 Sep, 2018 1 commit
  5. 26 Jun, 2018 1 commit
  6. 20 Jun, 2018 1 commit
    • Deomid Ryabkov's avatar
      mg_file_upload_handler: Support multiple files · 339bbee0
      Deomid Ryabkov authored
      curl -F file1 -F file2 ...
      
      Add a unit test and fix a minor memory leak when returning an error.
      
      CL: mg_file_upload_handler: Support multiple files
      
      PUBLISHED_FROM=5c4bf2be676346fb782e80f50f79df6a6721ac88
      339bbee0
  7. 10 Apr, 2018 2 commits
    • 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
    • Deomid Ryabkov's avatar
      Fix mg_http_parse_header · c2fbff6d
      Deomid Ryabkov authored
      Per standard, cookies are delimited by `; `.
      
      CL: Fix mg_http_parse_header: treat ";" as a delimiter.
      
      PUBLISHED_FROM=039243c30f5fabf4a4700a43506f841b3268306a
      c2fbff6d
  8. 30 Mar, 2018 1 commit
    • 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. 20 Mar, 2018 1 commit
    • Serge A. Zaitsev's avatar
      mongoose: fix http pipeline · d16dbc19
      Serge A. Zaitsev authored
      mongoose: fix formatting
      
      mongoose: fix formatting
      
      mongoose: remove debugging messages
      
      PUBLISHED_FROM=1194e018001cc5f2b598096593d7aac4ec8dc04d
      d16dbc19
  10. 17 Mar, 2018 1 commit
  11. 10 Feb, 2018 1 commit
    • Deomid Ryabkov's avatar
      Make sure test assertions are evaluated once · a3c4a48e
      Deomid Ryabkov authored
      E.g. if `ASSERT_EQ(myfunc(), 123)` fails, `myfunc()` would be invoked again to print the actual value.
      This can cause confusion sometimes.
      To avoid this, we cast arguments to double, which is wide enough for most cases and we provide a variant for 64 bit value types for when it's not.
      We also perform a check and fail if argument to the check results in loss of precision.
      
      CL: none
      
      PUBLISHED_FROM=a14551289d92e8a5dead21d16471ebddebe938a8
      a3c4a48e
  12. 07 Feb, 2018 2 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
      Commonize unit test main() · 50ecc30b
      Deomid Ryabkov authored
      CL: none
      
      PUBLISHED_FROM=ee76407d89f3fcbe3da23810117a374d06af0a25
      50ecc30b
  13. 05 Feb, 2018 1 commit
  14. 02 Feb, 2018 3 commits
  15. 08 Sep, 2015 1 commit
  16. 20 May, 2015 1 commit
  17. 11 May, 2015 1 commit
  18. 17 Mar, 2015 3 commits
  19. 30 Dec, 2014 1 commit
  20. 17 Oct, 2014 1 commit
  21. 15 Sep, 2014 1 commit
  22. 09 Sep, 2014 1 commit
  23. 07 Dec, 2013 1 commit
  24. 06 Dec, 2013 1 commit
  25. 05 Dec, 2013 1 commit
  26. 23 Nov, 2013 1 commit
  27. 01 Oct, 2013 2 commits
  28. 28 Sep, 2013 1 commit
  29. 26 Sep, 2013 1 commit
  30. 24 Sep, 2013 1 commit
  31. 07 Sep, 2013 3 commits