- 10 Dec, 2018 1 commit
-
-
Deomid Ryabkov authored
If user throttles receive by setting recv_mbuf_limit, after the net interface reports connection as closed we must wait for data to trickle through before disposing of it. There can still b data in the buffers (e.g. SSL). CL: mg: Ensure that user sees all the data before connection is closed PUBLISHED_FROM=22be0fa368950a9fdb03cfb00febc7c0a1674b01
-
- 07 Dec, 2018 1 commit
-
-
Бобби authored
CL: Make MG_CTL_MSG_MESSAGE_SIZE overridable Fix https://github.com/cesanta/mongoose/pull/987 PUBLISHED_FROM=b0a7c67297b98f616c9eadcd3c34b8747939c918
-
- 05 Dec, 2018 2 commits
-
-
Deomid Ryabkov authored
CL: Add mbuf_append_and_free() and mbuf_move() PUBLISHED_FROM=bdf73906dd93b2ebeace160596508e15480b54b4
-
Deomid Ryabkov authored
It can specify how much data was actually processed and the rest will be re-delivered on next poll. CL: mg: Add ability for multipart data handler to provide pushback PUBLISHED_FROM=e0168c5064c3a32921c9209bc09f4da2079cd616
-
- 23 Nov, 2018 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=754b98b3000b24ad3b3d9cc0b4c480ca005a1c3f
-
- 20 Sep, 2018 1 commit
-
-
https://github.com/cesanta/mongoose/pull/667Sergey Lyubka authored
CL: Integrate https://github.com/cesanta/mongoose/pull/667, fix documentation PUBLISHED_FROM=80a939fc3276b89c29716e7373f674dba86769ee
-
- 14 Sep, 2018 1 commit
-
-
Sergey Lyubka authored
CL: Docs nits PUBLISHED_FROM=1a2fc8080d94673acf300c6f07aba3a1e6272295
-
- 06 Sep, 2018 1 commit
-
-
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
-
- 10 Apr, 2018 1 commit
-
-
Deomid Ryabkov authored
CL: Add `mg_url_encode_opt()` - a parametrized version of `mg_url_encode()` PUBLISHED_FROM=17fa57a7a5325b51b6e3aef3855eac4e82c35782
-
- 07 Feb, 2018 1 commit
-
-
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
-
- 02 Feb, 2018 3 commits
-
-
Dmitry Frank authored
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
-
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
-
- 01 Feb, 2018 2 commits
-
-
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
-
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
-
- 28 Nov, 2017 2 commits
-
-
Dmitry Frank authored
PUBLISHED_FROM=2c176091ffb6c7c5cfe8ea4f05b6109e00b33383
-
Dmitry Frank authored
PUBLISHED_FROM=1bfc6e332f56b68eb6155bb729a97a0d8d5a316c
-
- 16 Oct, 2017 1 commit
-
-
- 22 Aug, 2017 1 commit
-
-
Dmitry Frank authored
PUBLISHED_FROM=f97569ae2f31ab94ce4875eae4d0a198f719c388
-
- 21 Jul, 2017 1 commit
-
-
Deomid Ryabkov authored
Change the API to heap-allocate the string and get rid of a bunch of fat stack buffers. PUBLISHED_FROM=c793dc64a9a044a9769d92ea16859f5d704a2181
-
- 17 Jul, 2017 2 commits
-
-
https://github.com/cesanta/mongoose/pull/824Sergey Lyubka authored
PUBLISHED_FROM=ed2c39b9e00a7374af7fed5af0c9acd6c330334a
-
https://github.com/cesanta/mongoose/pull/829Sergey Lyubka authored
PUBLISHED_FROM=6e56c250fe62010e25b6ed489c0d608163ba629c
-
- 02 Jul, 2017 1 commit
-
-
Dmitry Frank authored
PUBLISHED_FROM=1803e726eee7bb64496d70389655083eb70257ab
-
- 01 Jul, 2017 1 commit
-
-
Sergey Lyubka authored
PUBLISHED_FROM=efa9cc3aaf0c5ae8841e029370f882b615cebf1b
-
- 28 Jun, 2017 1 commit
-
-
Sergey Lyubka authored
PUBLISHED_FROM=e69e298a51dbe0f9c47184169ecad06eef0676fc
-
- 26 Jun, 2017 1 commit
-
-
Sergey Lyubka authored
Also amend api_net.js to use returned length. PUBLISHED_FROM=38e15f9587edf28049c5b9e5f126b4db159910e8
-
- 04 Jun, 2017 1 commit
-
-
Deomid Ryabkov authored
- Move keep alive management up to the Mongoose library - Only outgoing control messgaes should reset keepalive timer - Add unit test https://forum.mongoose-os.com/discussion/1155/mqtt-keep-alive-compliance-issue PUBLISHED_FROM=f86e30744ded53a6f7f96afec066b4ff3b4372c0
-
- 06 May, 2017 1 commit
-
-
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
-
- 27 Apr, 2017 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=533e134a48e0fca55509c3eb16b0a6b64c1188e8
-
- 24 Apr, 2017 1 commit
-
-
Deomid Ryabkov authored
Remove the specialized URI parser, clean up code a bit. Fix parsing of URIs with IPv6 hosts (http://[2001:2:3::4]:567/) PUBLISHED_FROM=968ad97585d928123106ce3828920ee073113f83
-
- 15 Apr, 2017 1 commit
-
-
Ruslan Valiullin authored
PUBLISHED_FROM=fb1796f11a595befd160bd5ab1088b6e39f16757
-
- 24 Mar, 2017 1 commit
-
-
Alexander Alashkin authored
PUBLISHED_FROM=257deff5ea20302627e77a0f29cf2359276a41d4
-
- 21 Mar, 2017 2 commits
-
-
Alexander Alashkin authored
PUBLISHED_FROM=2babde0d0c6add14aa500f4bf1c833715d979c6c
-
Yiming Sun authored
PUBLISHED_FROM=56fdeaf4965ef26c398267c8656735bb52e45085
-
- 20 Mar, 2017 1 commit
-
-
Alexander Alashkin authored
PUBLISHED_FROM=10772301ef115c31ada3521ff4235c33a421b782
-
- 15 Mar, 2017 2 commits
-
-
Dmitry Frank authored
PUBLISHED_FROM=29a204c2c7f35724b6f1e8435edb94869da2362c
-
Dmitry Frank authored
PUBLISHED_FROM=93fe1cc2c5e2513509511a81e5919cbd37056b10
-
- 11 Mar, 2017 1 commit
-
-
Deomid Ryabkov authored
Frees up a bit of ram on ESP PUBLISHED_FROM=0ea046cc63704481bca138b3096937669b94733d
-
- 01 Mar, 2017 2 commits
-
-
Alexander Alashkin authored
PUBLISHED_FROM=b5b12cdf4273f21dbcdac9bfb6a06063152914c9
-
Alexander Alashkin authored
PUBLISHED_FROM=1bdacf793b35ebe70d0a3a9d64260dd2bd135c73
-