- 17 May, 2018 1 commit
-
-
Deomid Ryabkov authored
Closes https://github.com/cesanta/mos-libs/pull/2 CL: Add MG_HIDE_SERVER_INFO PUBLISHED_FROM=ed8a5b65f1c8238df414cd1c1f8bb1f579082f55
-
- 10 May, 2018 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=9997c64ed0c713b5b8b29df7a49b532e880eac53
-
- 26 Apr, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: Fix TZ on ESP8266 PUBLISHED_FROM=435a501a8b52524bccb67bb5a8ae7e09dfb4d44a
-
- 17 Apr, 2018 1 commit
-
-
Sergey Lyubka authored
CL: none PUBLISHED_FROM=9cb4b915906d471ef5de4e0825567d0b942d3f7b
-
- 13 Apr, 2018 2 commits
-
-
Deomid Ryabkov authored
mgos_dlsym needs to include mg_str for ffi_exports to be able to use it PUBLISHED_FROM=a2dd167c8e8f9e9b7316a856f19a4603080c3632
-
Deomid Ryabkov authored
Enables extra compile-time checks CL: none PUBLISHED_FROM=9f7d658fbda5c721cf40293bf29967bb056d0437
-
- 11 Apr, 2018 1 commit
-
-
Deomid Ryabkov authored
Also remove `-O3` optimization flasg, it negates `-Os`. Saves ~400 bytes. CL: none PUBLISHED_FROM=f40f42e4f54a8e0e003ab65ec8f5838c2d932876
-
- 10 Apr, 2018 2 commits
-
-
Deomid Ryabkov authored
CL: Add `mg_url_encode_opt()` - a parametrized version of `mg_url_encode()` PUBLISHED_FROM=17fa57a7a5325b51b6e3aef3855eac4e82c35782
-
Deomid Ryabkov authored
Per standard, cookies are delimited by `; `. CL: Fix mg_http_parse_header: treat ";" as a delimiter. PUBLISHED_FROM=039243c30f5fabf4a4700a43506f841b3268306a
-
- 03 Apr, 2018 2 commits
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=8828792097bd19774472b8a2e61420565684d174
-
Sergey Lyubka authored
CL: Apache license to common/ PUBLISHED_FROM=901e9e4b12a31289b3515d1f86dd56a7f0f35c5e
-
- 30 Mar, 2018 2 commits
-
-
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
-
Deomid Ryabkov authored
Consume buffer as soon as we know there is no boundary there, no need to delay until next chunk arrives. This prevents stall where buffer fills up in one go and next chunk never arrives. CL: Fix an edge case in multipart HTTP upload parsing PUBLISHED_FROM=025f9001d272df2a75ece22b199b1944d5db9840
-
- 28 Mar, 2018 1 commit
-
-
Deomid Ryabkov authored
In preparation for making moving to lib. Reduce amount of makefile copypasta a bit. CL: none PUBLISHED_FROM=70a016491f9605e37708385bdd698f48a8d64119
-
- 22 Mar, 2018 1 commit
-
-
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
-
- 20 Mar, 2018 1 commit
-
-
Serge A. Zaitsev authored
mongoose: fix formatting mongoose: fix formatting mongoose: remove debugging messages PUBLISHED_FROM=1194e018001cc5f2b598096593d7aac4ec8dc04d
-
- 17 Mar, 2018 1 commit
-
-
Serge A. Zaitsev authored
PUBLISHED_FROM=00e8634913232eb2e50a0d739f85e81706dbc400
-
- 12 Mar, 2018 1 commit
-
-
novlean authored
PUBLISHED_FROM=63ce52177f5f13cb76f0fcb4689efb65a04318a2
-
- 27 Feb, 2018 1 commit
-
-
Serge A. Zaitsev authored
freshen: implement ota rollback freshen: api for rpc freshen: implement rpc api (without transport) PUBLISHED_FROM=9f935f676161c81464a0dc53d5d8d085b2437ffb
-
- 23 Feb, 2018 1 commit
-
-
Sergey Lyubka authored
PUBLISHED_FROM=9a81cc34aa0039a75c851bc3685055f46936252e
-
- 18 Feb, 2018 1 commit
-
-
Бобби authored
CL: Fix mg_socketpair for lwip + UDP PUBLISHED_FROM=6dd09136b3837016026523fb34acb5cc893cadbe
-
- 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 2 commits
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=3cd6dd7f04b650ca637788d1017b6b5146c79569
-
Dmitry Frank authored
CL: Mongoose Web Server: Add UDP client example Resolves https://github.com/cesanta/mongoose/issues/886 PUBLISHED_FROM=fcce2f1de3a800147e9246ffa01c428c1b8f552b
-
- 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 6 commits
-
-
Dmitry Frank authored
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
-
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
-
Dmitry Frank authored
Before it resulted in an endless recursion. Resolves https://github.com/cesanta/mongoose/issues/871 CL: Mongoose Web Server: Fail if passed a NULL handler to `mg_bind` or `mg_bind_opt`. PUBLISHED_FROM=376e5d330a643fa530f6a27a422a1500f986c721
-
- 01 Feb, 2018 1 commit
-
-
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
-