mirror of
https://github.com/emqx/neuron.git
synced 2026-10-29 23:19:18 +08:00
Compare commits
10
Commits
2.2.10
...
2.2.13-daily
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4f10a72e7 | ||
|
|
601e95a2ad | ||
|
|
65a8dfdf23 | ||
|
|
36e35032c3 | ||
|
|
0c74ec8eb7 | ||
|
|
7669e2bd38 | ||
|
|
b5bb4429a5 | ||
|
|
83cae15b39 | ||
|
|
553fbbe93a | ||
|
|
1b585d1138 |
@@ -20,12 +20,12 @@
|
||||
#ifndef _NEU_DEFINE_H_
|
||||
#define _NEU_DEFINE_H_
|
||||
|
||||
#define NEU_TAG_NAME_LEN 48
|
||||
#define NEU_TAG_NAME_LEN 64
|
||||
#define NEU_TAG_ADDRESS_LEN 128
|
||||
#define NEU_TAG_DESCRIPTION_LEN 128
|
||||
#define NEU_GROUP_NAME_LEN 32
|
||||
#define NEU_GROUP_NAME_LEN 128
|
||||
#define NEU_GROUP_INTERVAL_LIMIT 100
|
||||
#define NEU_NODE_NAME_LEN 32
|
||||
#define NEU_NODE_NAME_LEN 128
|
||||
#define NEU_PLUGIN_NAME_LEN 32
|
||||
#define NEU_PLUGIN_LIBRARY_LEN 32
|
||||
#define NEU_PLUGIN_DESCRIPTION_LEN 512
|
||||
|
||||
@@ -262,7 +262,7 @@ ssize_t neu_conn_tcp_server_recv(neu_conn_t *conn, int fd, uint8_t *buf,
|
||||
ret = recv(fd, buf, len, 0);
|
||||
}
|
||||
|
||||
if (ret <= 0 && errno != EAGAIN) {
|
||||
if (ret <= 0) {
|
||||
conn->disconnected(conn->data, fd);
|
||||
conn_tcp_server_del_client(conn, fd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user