- 13 Feb, 2018 1 commit
-
-
Deomid Ryabkov authored
Fixes https://github.com/cesanta/mongoose-os/issues/394 CL: Fix buffer size passed to inet_ntop() PUBLISHED_FROM=4a6702527627ccbb780f45200274b09a28be69ee
-
- 10 Feb, 2018 1 commit
-
-
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
-
- 08 Feb, 2018 2 commits
-
-
Deomid Ryabkov authored
CL: none PUBLISHED_FROM=ab7f50e1c68154832e862ebfb4a02d385ef7c6be
-
Dmitry Frank authored
PUBLISHED_FROM=92604e1b7c65009a6214fea9f1b2460df721d38e
-
- 07 Feb, 2018 4 commits
-
-
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
-
Deomid Ryabkov authored
PUBLISHED_FROM=d52aea1648ed8ec8dd2e71168884795d995b1826
-
Deomid Ryabkov authored
CL: none PUBLISHED_FROM=ee76407d89f3fcbe3da23810117a374d06af0a25
-
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
-
- 06 Feb, 2018 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=3cd6dd7f04b650ca637788d1017b6b5146c79569
-
- 05 Feb, 2018 2 commits
-
-
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
-
Dmitry Frank authored
PUBLISHED_FROM=78acb18d597b6f47f31da13087fa6685f21ce445
-
- 02 Feb, 2018 4 commits
-
-
Deomid Ryabkov authored
Even though it makes no prectical difference due to the way amalgamation works CL: none PUBLISHED_FROM=6977833f2b469e5b969385ad9ae21a28af76746f
-
Dmitry Frank authored
CL: none PUBLISHED_FROM=d6ebe5fa88c61ae3b8569897d9b09d54610bec73
-
Dmitry Frank authored
CL: Mongoose Web Server: Remove tunneling functionality which was used by nobody PUBLISHED_FROM=38b9e8ae7b0a5a1dbba5cff4074843dc681267d3
-
Dmitry Frank authored
CL: Mongoose Web Server: Publish sources and tests Resolves https://github.com/cesanta/mongoose/issues/745 PUBLISHED_FROM=7ecd7a3c518cfa614a6ba0838678dcb91b75a8c0
-