- 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
-
- 28 Feb, 2017 2 commits
-
-
Yiming Sun authored
PUBLISHED_FROM=dfbfeaae983daa0412964ac0402759f632bf7aeb
-
Yiming Sun authored
PUBLISHED_FROM=35e8f18aa611b45c271d0178d9197291bfa9726d
-
- 27 Feb, 2017 1 commit
-
-
Yiming Sun authored
PUBLISHED_FROM=f415ddbac47e3069d3ab29467a23f6b8dab0066f
-
- 24 Feb, 2017 1 commit
-
-
Dmitry Frank authored
`mg_mqtt_match_topic_expression()` and friends are public now. So far, only `#` is supported. PUBLISHED_FROM=20c031bcf34be84771c4a9c456318634eb9a517c
-
- 15 Feb, 2017 1 commit
-
-
Deomid Ryabkov authored
For both OpenSSL and mbedTLS PUBLISHED_FROM=0bfd5f128b4c4c062cb6f0ca0da9b30790aa8bf8
-
- 09 Feb, 2017 1 commit
-
-
Deomid Ryabkov authored
PUBLISHED_FROM=f0fe58c9f01ef0c7b491ed0e5f51b983e4119507
-
- 06 Feb, 2017 1 commit
-
-
Alexander Alashkin authored
PUBLISHED_FROM=67dc5d1ed30dc2500032be73dcdb214bd62c59d0
-
- 02 Feb, 2017 1 commit
-
-
Sergey Lyubka authored
PUBLISHED_FROM=cfd0018a5824c5ccac532558be86c17cda64ce50
-
- 30 Jan, 2017 1 commit
-
-
Alexander Alashkin authored
PUBLISHED_FROM=7864ffa26cb553f5d4a93248f67c288327ec23b0
-