Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
5a5b163d
Commit
5a5b163d
authored
Oct 03, 2014
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No DUP flag on PUBREL
Bug: 445890
parent
55fa0087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
MQTTProtocolClient.c
src/MQTTProtocolClient.c
+2
-1
No files found.
src/MQTTProtocolClient.c
View file @
5a5b163d
...
...
@@ -16,6 +16,7 @@
* Ian Craggs - fix for bug 413429 - connectionLost not called
* Ian Craggs - fix for bug 421103 - trying to write to same socket, in retry
* Rong Xiang, Ian Craggs - C++ compatibility
* Ian Craggs - turn off DUP flag for PUBREL - MQTT 3.1.1
*******************************************************************************/
/**
...
...
@@ -596,7 +597,7 @@ void MQTTProtocol_retries(time_t now, Clients* client, int regardless)
else
if
(
m
->
qos
&&
m
->
nextMessageType
==
PUBCOMP
)
{
Log
(
TRACE_MIN
,
7
,
NULL
,
"PUBREL"
,
client
->
clientID
,
client
->
net
.
socket
,
m
->
msgid
);
if
(
MQTTPacket_send_pubrel
(
m
->
msgid
,
1
,
&
client
->
net
,
client
->
clientID
)
!=
TCPSOCKET_COMPLETE
)
if
(
MQTTPacket_send_pubrel
(
m
->
msgid
,
0
,
&
client
->
net
,
client
->
clientID
)
!=
TCPSOCKET_COMPLETE
)
{
client
->
good
=
0
;
Log
(
TRACE_PROTOCOL
,
29
,
NULL
,
client
->
clientID
,
client
->
net
.
socket
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment