Ian Craggs
1e91229cb6
Update license from EPL v1 to v2
2020-04-06 13:27:50 +01:00
Ian Craggs
39ef1075e2
Cope with system time changes #758
2020-03-26 14:54:11 +00:00
fpagliughi
fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
...
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
Ian Craggs
ce3601e579
Fix up websocket proxy merge
2019-12-10 12:41:20 +00:00
Ian Craggs
ddc51e797f
Merge branch 'proxy_support' of https://github.com/tkanoh/paho.mqtt.c into tkanoh-proxy_support
2019-12-10 11:40:54 +00:00
Tamotsu Kanoh
da2cab6314
Merge remote-tracking branch 'upstream/master' into proxy_support
2019-12-08 12:53:16 +09:00
Tamotsu Kanoh
1bc029d486
Added basic authentication support to Proxy for Websocket.
...
Signed-off-by: Tamotsu Kanoh <kanoh@plathome.co.jp>
2019-12-08 11:11:19 +09:00
Tamotsu Kanoh
0dc0049721
Proxy support for websocket.
...
Signed-off-by: Tamotsu Kanoh <kanoh@plathome.co.jp>
2019-12-08 10:31:23 +09:00
Ian Craggs
a57ffcb348
Merge branch 'yg-custom-http-headers' of https://github.com/gyf304/paho.mqtt.c into gyf304-yg-custom-http-headers
2019-12-05 14:40:14 +00:00
Yifan Gu
7ed1672f1b
Adding support for custom HTTP headers when using WebSocket.
...
Signed-off-by: Yifan Gu <gyf304@gmail.com>
2018-12-05 13:26:23 -05:00
Ian Craggs
ac9c99a981
Fix for issue #570
2018-10-24 18:12:44 +02:00
Ian Craggs
94608c386a
Some more lgtm complaints
2018-08-03 17:58:58 +01:00
Ian Craggs
fcef9b5dd5
Merge branch 'develop' into mqttv5
2018-06-04 15:38:02 +01:00
Ian Craggs
77cc4fb960
Add cleanstart and session expiry to async test/client
2018-05-04 17:56:48 +01:00
Keith Holman
086111f1dd
WebSocket: initial websocket support + utilities
...
closes : #166
This patch provides an initial implementation for websocket support for
paho. For the websocket specification see RFC 6455. The purpose of this
patch is to allow connnecting to an MQTT broker listening on a websocket
port (typically 80 [HTTP] or 443 [HTTPS]) to be able to communicate with
a client using the paho library. Using websockets to communicate increases
the packet overhead both sending and receiving as well as additional setup
and ping packets. However, using websockets allows for communications on
standard HTTP/HTTPS ports which are generally already configured by
firewalls to allow outside communications.
To use websockets, prefix the connection URI with either: "ws://" or
"wss://" for either websockets or secure websockets, repectfully.
Signed-off-by: Keith Holman <keith.holman@windriver.com>
2018-05-02 16:59:25 -04:00
Keith Holman
af104622cf
clients: add defines for connect states
...
To help understand the various connecting states this patch introduces
defines with the various states. This helps make the code a bit easier
to understand.
Signed-off-by: Keith Holman <keith.holman@windriver.com>
2018-05-02 16:59:25 -04:00
Ian Craggs
167278c0a8
First pass at MQTTAsync - sending V5 packets and receiving responses
2018-04-27 22:26:23 +01:00
Ian Craggs
7cc0e3fa38
MQTT 5.0 publish qos 0 send and receive
2018-03-22 17:37:45 +00:00
Ian Craggs
359a9f4a73
Some cppcheck complaint fixes #36
2017-05-01 12:06:32 +01:00
Ian Craggs
f11f08e8b0
Binary passwords and will messages: PR #159 , issues #167 and #34
...
Squashed commit of the following:
commit 907b9ecdaf160bf95c17aafcaf4ab3e656ab9ccc
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 23:33:44 2017 +0100
Use binary passwords in tests
commit 3930b18d3835727e3cb98ef0ce1a742bd0dffab7
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 17:15:29 2017 +0100
Binary MQTT password support
commit 4abe6a996b1219aafa22b5dd69bf1e676d377466
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 16:13:18 2017 +0100
Fix test config
commit e742ed182d6de44e9afd6e9c9c03c79f359fbe29
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 15:46:53 2017 +0100
Async binary will message
commit 9313e66214720c285f510e325a5c942ad22f2542
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 11:50:10 2017 +0100
Binary will message support, take 2
commit 5cf548505a548eff394348aa7406e5a34d0f5054
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Tue Apr 4 22:54:15 2017 +0100
Binary will message
2017-04-06 10:49:05 +01:00
Ian Craggs
eab1a71db2
Keepalive timer fix
...
Bug: 442683
2014-08-27 11:29:37 +01:00
Ian Craggs
fa781a1ab9
Correct source file modes
2014-08-22 16:19:17 +01:00
rxiang
96faf843fc
43204 review
...
Signed-off-by: rxiang <xiangr@cn.ibm.com>
2014-07-07 03:11:51 +08:00
Ian Craggs
3b79c88c08
Merge ssh://git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.c into develop
...
Conflicts:
src/MQTTAsync.c
src/MQTTClient.c
src/MQTTProtocolOut.c
2014-05-29 13:46:25 +01:00
Ian Craggs
2380b26dfb
Add WIN64 to WIN32 conditional compilation statements
2014-04-10 14:41:57 +01:00
Ian Craggs
5ea7496633
Allow applications to choose MQTT 3.1 or 3.1.1 explicitly
2014-03-13 15:15:56 +00:00
Ian Craggs
34c34466e1
fix for bug 413429 - connectionLost not called
2013-07-22 11:01:34 +01:00
Ian Craggs
9af36c8047
Add notices for dual epl/edl licensing
2013-03-18 15:32:53 +00:00
Ian Craggs
fef7f88070
Bug #402245 : pings sent unnecessarily and messages can be reordered
2013-03-03 19:57:39 +00:00
Ian Craggs
97c7280470
New asynchronous MQTT API (see MQTTAsync.h) and
...
SSL support for both old and new APIs.
2013-01-24 14:40:11 +00:00
Ian Craggs
76d745098e
The rest of the initial release commit
2012-03-08 23:33:18 +00:00