New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
broker_tcp/tls sync #762
broker_tcp/tls sync #762
Conversation
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #762 +/- ##
==========================================
+ Coverage 64.70% 64.73% +0.03%
==========================================
Files 124 124
Lines 35879 35902 +23
==========================================
+ Hits 23215 23241 +26
+ Misses 12664 12661 -3 ☔ View full report in Codecov by Sentry. |
@@ -1,6 +1,7 @@ | |||
#ifndef NANOLIB_ACL_CONF_H | |||
#define NANOLIB_ACL_CONF_H | |||
|
|||
#include <string.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
darwin can't find string
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
…e got closed abruptly Signed-off-by: wayne <yukang.wei@emqx.io>
…qos_send cb Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done
@@ -470,7 +469,13 @@ nmq_tcptran_pipe_qos_send_cb(void *arg) | |||
return; | |||
} | |||
msg = nni_aio_get_msg(qsaio); | |||
type = nni_msg_cmd_type(msg); | |||
if (msg != NULL) | |||
type = nni_msg_cmd_type(msg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
@@ -1069,9 +1078,8 @@ nmq_pipe_send_start_v4(tcptran_pipe *p, nni_msg *msg, nni_aio *aio) | |||
// TODO packetid already exists. | |||
// do we need to replace old with new | |||
// one ? print warning to users | |||
nni_println( | |||
"ERROR: packet id duplicates in " | |||
"nano_qos_db"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad
@@ -463,8 +483,8 @@ tlstran_pipe_qos_send_cb(void *arg) | |||
return; | |||
} | |||
|
|||
if (p->tcp_cparam->pro_ver == 5) { | |||
(type == CMD_PUBCOMP || type == PUBACK) ? p->qrecv_quota++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hidden bug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
No description provided.