Roger A. Light
|
6f2fe06f0b
|
[464811] Fix handling of payload lengths>4096 with websockets.
Thanks to Arjen van Elteren and Stephen Zeng.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464811
|
2015-05-06 16:40:10 -05:00 |
|
Roger A. Light
|
121c2ca002
|
Broker will return CONNACK rc=5 when a client is not authorised.
This was being incorrectly set as rc=4.
|
2015-05-06 04:54:11 -05:00 |
|
Roger A. Light
|
ec2fcce43b
|
Don't send websockets messages if the message is queued.
|
2015-04-29 10:16:59 +01:00 |
|
Roger A. Light
|
11d0d887f0
|
Fix parsing of auth_opt_ arguments with extra spaces/tabs.
|
2015-04-24 20:57:30 +01:00 |
|
Roger A. Light
|
cc7beb62a5
|
[465384] Fix crash on Windows when using bridges.
Thanks to Stefan Rosskopf.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465384
|
2015-04-24 09:34:24 +01:00 |
|
Roger A. Light
|
21b372ed9e
|
ACLs are now checked before sending a will message.
|
2015-04-18 22:16:57 +01:00 |
|
Roger A. Light
|
991f1173d7
|
Fix persistent db writing on Windows.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464779
|
2015-04-17 21:51:24 +01:00 |
|
Roger A. Light
|
1bdd6c36a8
|
Fix incorrect bridge connection notifications on local broker.
|
2015-04-17 21:51:21 +01:00 |
|
Roger A. Light
|
960b3ef32d
|
Fix possible minor memory leak on acl parsing.
|
2015-03-30 22:26:44 +01:00 |
|
Roger A. Light
|
dacee786be
|
[463000] Use own type to simplify socket handling.
Means that SOCKET is used as the socket type everywhere on Windows.
|
2015-03-29 10:43:08 +01:00 |
|
Roger A. Light
|
7cd14725da
|
Fix compiler warning.
|
2015-03-28 15:16:15 +00:00 |
|
Roger A. Light
|
502c3e7563
|
[461619] Disconnect idle websockets clients.
Websockets clients are now periodically disconnected if they have not
maintained their keepalive timer.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461619
|
2015-03-27 20:50:16 +00:00 |
|
Roger A. Light
|
35b729909c
|
[463241] Fix possible crash under heavy network load.
Thanks to Alexandre Zia.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463241
|
2015-03-27 01:07:48 +00:00 |
|
Roger A. Light
|
ccc8a81187
|
Ignore multiple spaces when parsing acl files.
|
2015-03-26 22:37:01 +00:00 |
|
Roger A. Light
|
c6450ac265
|
[462154] Fix problems parsing config strings with leading spaces.
Thanks to Aidan Gill.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462154
|
2015-03-15 20:49:18 +00:00 |
|
Roger A. Light
|
28404350c4
|
Fix possible crash when using pattern ACLs.
|
2015-03-08 21:00:15 +00:00 |
|
Roger A. Light
|
3a36ae843b
|
Fix lws 1.3 detection.
|
2015-02-23 15:20:23 +00:00 |
|
Roger A. Light
|
fcf91f9cd9
|
Fix compiling on Linux with CMake.
|
2015-02-22 12:20:29 +00:00 |
|
Roger A. Light
|
279b67bf8d
|
Minor packaging related fixes.
|
2015-02-18 01:34:43 +00:00 |
|
Roger A. Light
|
f04c10e609
|
Fix incorrectly committed change.
|
2015-02-17 23:23:13 +00:00 |
|
Roger A. Light
|
ff3ebd969b
|
Fix building on OS X.
|
2015-02-17 23:21:14 +00:00 |
|
Roger A. Light
|
ff9c2087b1
|
Basic support for libwebsockets 1.2.x.
|
2015-02-16 22:02:34 +00:00 |
|
Roger A. Light
|
2098d6a392
|
Remove debug line.
|
2015-02-15 20:10:46 +00:00 |
|
Roger A. Light
|
91c1972c1f
|
Consistent error message.
|
2015-02-14 13:08:49 +00:00 |
|
Roger A. Light
|
db86809ee9
|
Add websockets logging options.
|
2015-02-13 22:57:49 +00:00 |
|
Roger A. Light
|
6fd38b8c47
|
Windows fixes.
|
2015-02-13 21:18:52 +00:00 |
|
Roger A. Light
|
3ed5c94038
|
Struct optimisations.
|
2015-02-13 21:17:11 +00:00 |
|
Roger A. Light
|
8b1560def0
|
Parse config strings as entire line.
|
2015-02-12 22:48:28 +00:00 |
|
Roger A. Light
|
f781498c03
|
Ensure that file logging uses the correct username.
|
2015-02-08 22:06:11 +00:00 |
|
Roger A. Light
|
626857b20a
|
Close and reopen log_dest file on HUP.
|
2015-02-05 22:44:38 +00:00 |
|
Roger A. Light
|
c276fd9572
|
When using "log_dest file" the output file is now flushed periodically.
|
2015-02-05 22:29:49 +00:00 |
|
Roger A. Light
|
22e09ae613
|
[455402] Fix potential hang with pattern acls.
Fix hang if pattern acl contains a %u but an anonymous client connect.
Thanks to Christoph Krey.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=455402
|
2015-01-27 23:33:36 +00:00 |
|
Roger A. Light
|
45b8220a82
|
[458690] Fix build for WITH_BRIDGE=no
Thanks to Alexandre Zia.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=458690
|
2015-01-27 23:33:36 +00:00 |
|
Roger A. Light
|
8eda59c1d9
|
[452927] Fix bind()/listen() error reporting on Windows.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452927
|
2015-01-28 20:56:51 +00:00 |
|
Roger A. Light
|
1b4903b41e
|
[431780] ACL files can contain a space in username/topic.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=431780
|
2015-01-27 23:33:36 +00:00 |
|
Roger A. Light
|
153e6e6211
|
[452914] Drop root privileges after listeners started.
This means that TLS private keys can be restricted to the root user.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452914
|
2015-01-27 23:33:36 +00:00 |
|
Roger A. Light
|
87d8e1f705
|
Bridge support for MQTT v3.1.1.
|
2015-01-27 17:12:36 +00:00 |
|
Roger A. Light
|
34176359c9
|
[452913] Prevent dereferencing of NULL string.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452913
|
2015-01-26 21:02:53 +00:00 |
|
Roger A. Light
|
96d98e620b
|
Fix compiling on Apple.
|
2015-01-24 22:18:28 +00:00 |
|
Roger A. Light
|
0adb2ed217
|
[425835] Support for "hour client expiration times.
This allows shorter values for the persistent_client_expiration option.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=425835
|
2015-01-15 21:57:03 +00:00 |
|
Roger A. Light
|
aca979a473
|
[457371] Fix building for WITH_TLS=no
Thanks to Micheal Laing.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457371
|
2015-01-15 20:11:14 +00:00 |
|
Roger A. Light
|
8a18f577a6
|
Remove more unnecessary uses of calloc.
|
2015-01-14 21:56:57 +00:00 |
|
Roger A. Light
|
97849e8825
|
Remove unnecessary uses of calloc.
|
2015-01-14 21:43:39 +00:00 |
|
Roger A. Light
|
cfe1156eb7
|
Reference count store structs when reloading from db.
Without this increment, a message could be incorrectly freed in rare
circumstances.
|
2015-01-08 18:41:14 +00:00 |
|
Roger A. Light
|
b52e3311d2
|
Disconnect websockets clients properly.
context->state was being overwritten when websockets clients
attempted to disconnect, leaving them in limbo. This has been fixed.
Thanks to FeelyChau.
|
2015-01-07 23:33:31 +00:00 |
|
Roger A. Light
|
faaf3edd02
|
Fix library linking with CMake.
When using CMake it wasn't possible to use libwrap due to a
configuration error. This has been fixed.
Thanks to Markus Rathgeb.
|
2015-01-07 22:18:39 +00:00 |
|
Roger A. Light
|
175794826b
|
[456899] Broker: Add bridge_attempt_unsubscribe option.
The bridge_attempt_unsubscribe option has been added, to allow the sending
of UNSUBSCRIBE requests to be disabled for topics with "out" direction.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=456899
|
2015-01-07 21:50:10 +00:00 |
|
Roger A. Light
|
778bd4ca25
|
Clear store variable correctly here.
|
2015-01-06 17:37:56 +00:00 |
|
Roger A. Light
|
0e72d3cc32
|
Should check acl result for lack of success, not presence of error.
|
2015-01-06 17:35:46 +00:00 |
|
Roger A. Light
|
f8f794c531
|
Allow expiring clients to be cleaned up.
|
2015-01-06 17:35:12 +00:00 |
|