Roger A. Light
a791532c12
Simplify $SYS metric generation.
3 years ago
Roger A. Light
fd68bf00c7
Merge branch 'master' into develop
3 years ago
Roger A. Light
e979a46c04
Backport SSL connect fixes.
...
Closes #2594 .
Closes #2595 .
3 years ago
Roger A. Light
a913de2d28
Fix some PUBLISH messages not being counted in $SYS stats.
...
Closes #2448 . Thanks to Antoine.
3 years ago
Roger A. Light
29f49bf6ab
Publish global out_packet values to $SYS
3 years ago
Roger A. Light
4099f8d1b6
Store out_packet bytes rather than having to calculate it.
3 years ago
Roger A. Light
2afe19466a
Remove unused macro.
4 years ago
Roger A. Light
4e731d2ac7
Fix lws based websockets connections.
4 years ago
Roger A. Light
500542351d
Set pointers to NULL after freeing.
4 years ago
Roger Light
cd07f1136b
Bump copyrights.
4 years ago
Roger A. Light
799cdead15
Experimental custom websockets support.
4 years ago
Roger A. Light
aa29b45e70
Merge branch 'master' into develop
4 years ago
Roger Light
ba2ca33671
Strict protocol compliance fixes, and extensive test suite.
4 years ago
Roger A. Light
49065f03a8
Merge remote-tracking branch 'origin/fixes' into develop
4 years ago
Roger A. Light
f90e55bd36
Reduce memory allocations when sending packets.
4 years ago
Roger A. Light
e0bcf8cda4
Simplify SSL accept/connect.
4 years ago
Roger A. Light
8416f928df
Revert premature want_connect fix.
4 years ago
Roger A. Light
104b94db57
Fix non-reachable bridge blocking the broker on Windows.
...
Closes #2172 . Thanks to Niclas Lindgren.
4 years ago
Roger Light
f934230251
Simplify out packet mutex use.
4 years ago
Roger A. Light
214feb8f6b
Merge branch 'fixes' into develop
4 years ago
Roger A. Light
16fb0025a7
Improve QoS 0 outgoing packet queueing.
4 years ago
Roger A. Light
8a03b5ad5c
Function for checking if a context is connected.
4 years ago
Roger Light
e1c8f09372
Remove C++ style comments.
4 years ago
Roger Light
1e94e08843
Callbacks no longer block other callbacks.
...
The can also be set from within a callback.
Closes #2127 . Thanks to Weston Schmidt.
5 years ago
Roger A. Light
e98cc28cd3
Move check after current_out_packet is updated.
5 years ago
Przemek Zygmunt
18bad1ff32
Unconditionally adding an event to the epoll causes 100% CPU usage. This happens when the connection to the server is established and the client has not sent any data yet.
...
Signed-off-by: Przemek Zygmunt <p.zygmunt@acsoftware.pl>
5 years ago
Roger A. Light
a4389fc9ce
Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
...
The two licenses are the same.
5 years ago
Roger A. Light
fabdfcc060
Further fix for large packets not being sent in a timely fashion.
5 years ago
Roger A. Light
b2da540c64
Fix large packets not being completely published to slow clients.
...
Also fix bridge connection not relinquishing POLLOUT after messages are
sent.
Closes #1977 . Thanks to marchaesen.
Closes #1979 . Thanks to GorazdKikelj.
5 years ago
Roger A. Light
e02b5a2775
Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2
...
Closes #1968 . Thanks to promahn.
5 years ago
Roger A. Light
df1802d8f1
Fix client state conversion warnings.
5 years ago
Roger A. Light
3731535298
Add SPDX license identifiers.
5 years ago
Roger A. Light
b34dcd2a67
Final remove support for legacy libwebsockets
...
This means libwebsockets < 2.4.0.
5 years ago
Roger A. Light
a3258f7d82
Packet cleanup without locks
...
Prevents use of invalid mutexes during mosquitto_destroy.
Closes #1914 . Thanks to Nikolay Raspopov.
5 years ago
Roger A. Light
584cf51ba7
Update to EPL-2.0
5 years ago
Roger A. Light
dac841a342
Better outgoing QoS 0 limiting.
5 years ago
Roger A. Light
2755fe3c4c
Apply limits to QoS 0 outgoing messages.
5 years ago
Roger A. Light
b816d46508
Use db as a global var instead of passing to functions.
...
This allows a big swath of ifdefs to be removed. It also means savings as the db var is not passed around all of the time, and makes it easier to remove the final broker call to mosquitto_time() call in packet_mosq.c. In one test this reduced the calls to mosquitto_time() from 295k to 48k.
5 years ago
Roger A. Light
108b23ce6d
Reduce use of mosquitto_time() and time().
5 years ago
Roger A. Light
88b5daee66
Try very hard not to produce "Socket error" message.
...
This happens when an unhandled error occurs on a socket/read write. The
message is confusing to people.
5 years ago
Roger A. Light
4f61f6c161
Fix conversion errors.
5 years ago
Roger A. Light
bb5456729d
Move keepalive check code to separate file.
...
This is in preparation for changing to a tree based implementation.
5 years ago
Roger A. Light
b0a065f790
Update changelog. Release page. Bump copyright.
6 years ago
Roger A. Light
1a8c44b84f
Fix regression on use of `mosquitto_connect_async()` not working.
...
Closes #1415 and #1422 . Thanks to Karl Palsson, Till Zimmermann and Liam Fry.
6 years ago
Roger A. Light
ee3591d228
Fix missing locks on `mosq->state`.
...
Closes #1374 . Thanks to Jeff Trull.
6 years ago
Roger A. Light
412379b03b
Fix bridges potentially not connecting on Windows.
...
Closes #478 .
6 years ago
Roger A. Light
42237c0239
Make behaviour of `mosquitto_connect[_async]()` consistent.
...
`mosquitto_connect_async()` is now consistent with `mosquitto_connect()`
when connecting to a non-existent server.
Closes #1345 . Thanks to Mohammad Reza.
6 years ago
Roger A. Light
320ddc1303
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
client/Makefile
config.mk
installer/mosquitto.nsi
installer/mosquitto64.nsi
lib/mosquitto.h
lib/mqtt3_protocol.h
lib/util_mosq.c
set-version.sh
snap/snapcraft.yaml
src/bridge.c
src/database.c
src/handle_connack.c
src/loop.c
src/persist.c
test/broker/Makefile
7 years ago
Roger A. Light
0941638143
Fix signed/unsigned comparion warnings.
...
Closes #1196 .
7 years ago
Roger A. Light
ce31269e05
Update changelog, bump version, bump copyright year.
7 years ago