Deomid Ryabkov
08353731ef
Fix MQTT PUB{ACK,REC,REL,COMP} and UNSUBACK flags
...
Flags should be 0 for all of these, except PUBREL (flags = 2).
PUBLISHED_FROM=46bf63fe12020d4cb493e52ceb3bae0291484b40
2017-03-08 00:23:14 +00:00
Deomid Ryabkov
16700244b0
Fix parsing of MQTT QoS > 0 PUBLISH messages
...
Message ID comes after topic, not before.
PUBLISHED_FROM=1ec2a56e290b67061b18c745671dc7f089b9cc0d
2017-03-07 23:52:42 +00:00
Deomid Ryabkov
49ca223e9c
Minor memory optimization
...
Release pbuf sooner: after copying data from, before invoking user code
PUBLISHED_FROM=b877c96ef602bbca26762b18b9dde17eb880d1f9
2017-03-07 17:19:47 +00:00
Sergey Lyubka
38efe632ae
Squash warning
...
PUBLISHED_FROM=72d80f8ed2c10866b44d56d8133c76b22bc105b0
2017-03-06 21:51:43 +00:00
Deomid Ryabkov
39a3bb7e44
Log method and URI in mg_http_handler
...
PUBLISHED_FROM=34c3e49d523b0f5c7056f91e4b422f21f5694df9
2017-03-02 09:36:08 +00:00
Alexander Alashkin
920e8d9145
Add shims for mongoose file operations
...
PUBLISHED_FROM=b5b12cdf4273f21dbcdac9bfb6a06063152914c9
2017-03-01 10:06:47 +00:00
Alexander Alashkin
aed6d05d8c
Do not test reassembled buffer for WS_OP_CLOSE
...
PUBLISHED_FROM=0e8de208b553b63c8367f66893389587bd17359f
2017-03-01 10:06:46 +00:00
Alexander Alashkin
d85d95a40b
Fix potential out-of-bound
...
PUBLISHED_FROM=71b40189bcedbe9338915c1aad939835125dad26
2017-03-01 10:06:45 +00:00
Alexander Alashkin
b5dd54a404
Fix doc typos
...
PUBLISHED_FROM=1bdacf793b35ebe70d0a3a9d64260dd2bd135c73
2017-03-01 06:19:58 +00:00
Yiming Sun
f7c0a2ee15
Fix server_example.md
...
PUBLISHED_FROM=dfbfeaae983daa0412964ac0402759f632bf7aeb
2017-02-28 11:05:31 +00:00
Yiming Sun
874b5bfdbf
Fix comment in mongoose.h
...
PUBLISHED_FROM=35e8f18aa611b45c271d0178d9197291bfa9726d
2017-02-28 10:50:21 +00:00
Yiming Sun
71d09722be
Fix http_client doc
...
PUBLISHED_FROM=f415ddbac47e3069d3ab29467a23f6b8dab0066f
2017-02-27 20:20:33 +00:00
Dmitry Frank
349d25dccf
Fix # matching logic
...
E.g. given the expression `foo/#`:
- `foo/bar` matches
- `foo/` should not match
- `foo` should not match
PUBLISHED_FROM=40f3290cb9a478b22d9f1ab6382884b5de70e266
2017-02-24 15:35:20 +00:00
Dmitry Frank
3942914945
Fix subscription to wildcard topics
...
`mg_mqtt_match_topic_expression()` and friends are public now.
So far, only `#` is supported.
PUBLISHED_FROM=20c031bcf34be84771c4a9c456318634eb9a517c
2017-02-24 14:21:33 +00:00
Dmitry Frank
60c16bbb5d
Fix mos docker image name
...
PUBLISHED_FROM=91016ab1629a65976d2cc2f00aec4e1667cb4a8f
2017-02-23 21:35:24 +00:00
Sergey Lyubka
70b5f4130e
Add http post example
...
PUBLISHED_FROM=94f830a5fa4b806fb2cf60c93a9e8744022ff8d7
2017-02-23 17:50:14 +00:00
Sergey Lyubka
17cfecc5c3
Mongoose examples fixes
...
PUBLISHED_FROM=b47a5b6987ee8d9e7c9bae2bd4d2943d2e7f76a9
2017-02-20 10:05:57 +00:00
Deomid Ryabkov
ebdd18769b
Add core dump and exception handling to RTOS port
...
PUBLISHED_FROM=dba64da598b45469c7fd458865c75d3eb6853c2d
2017-02-19 10:05:31 +00:00
Deomid Ryabkov
f974fddd2a
Fix ESP8266_RTOS example; add mos flashing
...
PUBLISHED_FROM=d87814d40f0acdc7a96fbd132c2157ccb499c7c6
2017-02-17 14:51:49 +00:00
Dmitry Frank
b1a46da309
Implement Array.prototype.length
...
We don't have a real Array.prototype of course, just `[1,2,3].length`
behaves like we do.
PUBLISHED_FROM=456379377652cb60fc6f9521d8d358480237c58a
2017-02-17 14:51:48 +00:00
Deomid Ryabkov
81879be4be
RTOS stability improvements
...
PUBLISHED_FROM=2992473e6c05c1dc95878cc549eccba7abcedccf
2017-02-16 16:05:22 +00:00
Deomid Ryabkov
0a094d4c1f
Decouple mg_lwip_accept_cb from mg_if_accept_tcp_cb
...
Must be invoked on mongoose main task, not on LWIP
Also request immediate poll oif there is data to be sent and space to
send it.
PUBLISHED_FROM=53576651452d8d7193da9e63f5b97f6f8729c45b
2017-02-16 12:19:23 +00:00
Deomid Ryabkov
66a96410d4
ESP8266: Add RTOS SDK port (MGOS_ESP8266_RTOS=1)
...
PUBLISHED_FROM=ca5332e63700274ed9aeea9d9d1802e89fa788fa
2017-02-16 11:05:34 +00:00
Deomid Ryabkov
d4b23f08b6
Implement client support for TLS-PSK
...
For both OpenSSL and mbedTLS
PUBLISHED_FROM=0bfd5f128b4c4c062cb6f0ca0da9b30790aa8bf8
2017-02-15 08:20:53 +00:00
Deomid Ryabkov
d6d956b9d8
Do not prefix successfulresponse with "Error: "
...
It's confusing
PUBLISHED_FROM=9158ccd920dabf92963e76aa96a988753b9c427d
2017-02-13 15:05:11 +00:00
Deomid Ryabkov
383b2a48c5
Update logo in connected_device examples
...
PUBLISHED_FROM=6319df7f49dc921ddb672ba9789dfbbff8c25d9f
2017-02-13 14:05:04 +00:00
Sergey Lyubka
ab1c464950
Fix https://github.com/cesanta/mongoose/issues/765
...
PUBLISHED_FROM=f7f8ce9421d96a5f0d90afe4c930c53662b4e907
2017-02-11 04:50:44 +00:00
Deomid Ryabkov
f20b5191f2
Check UDP pbuf for being NULL
...
cesanta/mongoose-os#186
PUBLISHED_FROM=30460b56211eb0dff4d05bff45f256ac1da2caf4
2017-02-10 02:35:08 +00:00
Deomid Ryabkov
fc113d64f5
Add mg_hexdumpf: mg_hexdump that outputs to a file
...
PUBLISHED_FROM=f0fe58c9f01ef0c7b491ed0e5f51b983e4119507
2017-02-09 10:33:33 +00:00
Deomid Ryabkov
6f6b12bee7
Lower verbosity of a debug message
...
PUBLISHED_FROM=6ff979319c31363df16cedf99b2432bd83db1473
2017-02-09 10:21:15 +00:00
Deomid Ryabkov
4e6c2867da
UDP fixes: move recv callback into event loop, ...
...
...and fix a leak where UDP connections with SEND_AND_CLOSE set would not be closed
PUBLISHED_FROM=d60f1fc037e8e57671c7d3146fabc1f068bbb514
2017-02-09 10:21:12 +00:00
Alexander Alashkin
54989e819a
Fix multipart parsing
...
Close cesanta/mongoose#770
PUBLISHED_FROM=ae55988f1c6ccdff172b8db405adb36c91289d95
2017-02-08 10:54:46 +00:00
Dmitry Frank
bf505bb68d
Update readme of nrf examples
...
And also fix `flash` target for nrf51
PUBLISHED_FROM=decc6242380eb7070bfbcb26c57780e756588cc3
2017-02-08 08:25:32 +00:00
Deomid Ryabkov
4072062b72
Add MG_SSL_IF_MBEDTLS_MAX_FRAG_LEN
...
And set to 1024 for mOS.
PUBLISHED_FROM=ee3a66ad935cfb50355ebd7bae59c8230914878d
2017-02-08 08:25:31 +00:00
Alexander Alashkin
d6ba37dc3c
Correct msg len for chunked encoding
...
Close cesanta/dev#6485
PUBLISHED_FROM=172ab4f18f1fb3e6110ad03eea18a7f87f2e531a
2017-02-07 12:25:06 +00:00
Alexander Alashkin
a58d21aa28
Add overrun protection to mg_sock_to_str
...
Relate to cesanta/mongoose#780
PUBLISHED_FROM=145d94c52be03ac2d909eae8166774ffd40f0df1
2017-02-07 12:25:05 +00:00
Alexander Alashkin
6e8d4129b2
Use _exit in CGI. Close cesanta/mongoose#779
...
PUBLISHED_FROM=bfe62d3824ee3a6e66b7d1a57ee7bad3b726649d
2017-02-07 11:09:49 +00:00
Alexander Alashkin
2485a8f8d9
Fix signs comparison. Close cesanta/mongoose#774
...
PUBLISHED_FROM=a875606de6f4b2c202b25ce20efcb1ca33eb75b8
2017-02-07 08:25:31 +00:00
Sergey Lyubka
1ae908f6d5
Add mqtt codec
...
PUBLISHED_FROM=f780559966a6a955603e05aeaa5dde8455bff991
2017-02-06 17:39:02 +00:00
Alexander Alashkin
6b923bdff1
Add stm32/cube to hwtests
...
PUBLISHED_FROM=478792d0479ba2154f0a65eea066f6ae6f235f84
2017-02-06 17:25:16 +00:00
Alexander Alashkin
d39969d1e6
Restore links to mongoose/examples
...
PUBLISHED_FROM=67dc5d1ed30dc2500032be73dcdb214bd62c59d0
2017-02-06 14:09:01 +00:00
Alexander Alashkin
eaef5bd133
Revert "Stop publish examples to mongoose repo"
...
This reverts commit 1a17e17c462bdd4e1d26d8742f8b7087273e04c2.
PUBLISHED_FROM=80028de308c9a021955d1425d2bfee8feb85f193
2017-02-06 14:08:59 +00:00
Sergey Lyubka
7cc7df8c0e
Merge pull request #778 from cesanta/remove_examples
...
Remove examples
2017-02-03 10:23:29 +00:00
Alexander Alashkin
551f393da7
Remove examples
2017-02-03 12:17:07 +02:00
Sergey Lyubka
e81f8373a2
Update mongoose docs
...
PUBLISHED_FROM=cfd0018a5824c5ccac532558be86c17cda64ce50
2017-02-02 14:24:49 +00:00
Sergey Lyubka
dfa83f2c85
Fix TCP close sequence
...
PUBLISHED_FROM=ed6cf7fd63b6f80d5c37ab93899ecd09bac6102b
2017-02-01 20:26:46 +00:00
Alexander Alashkin
91bdbc5193
Fix warn in mg_lwip_if_poll
...
PUBLISHED_FROM=0bcb3e892e1ba2329aef5d17375fe4d3879dc666
2017-01-31 13:39:29 +00:00
Alexander Alashkin
707b9ed2d6
Remove mg_enable_multithreading. Close cesanta/dev#6511
...
PUBLISHED_FROM=7864ffa26cb553f5d4a93248f67c288327ec23b0
2017-01-30 13:55:49 +00:00
Alexander Alashkin
cd6b846e22
Fix mongoose/mbed compilation
...
PUBLISHED_FROM=c754e6961fc197d3057740169f55025b305b6936
2017-01-30 13:10:47 +00:00
Alexander Alashkin
807e4ea6ec
Fix STM32F4_CC3100 Mongoose example compilation
...
PUBLISHED_FROM=7a67a67d2f0007e241e4ccb57bc24a43ba20bfde
2017-01-30 12:09:43 +00:00