mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
send crash
This commit is contained in:
@@ -687,6 +687,7 @@ send_buffer(struct socket_server *ss, struct socket *s, struct socket_message *r
|
|||||||
buf->ptr = (char*)so.buffer+s->dw_offset;
|
buf->ptr = (char*)so.buffer+s->dw_offset;
|
||||||
buf->sz = so.sz - s->dw_offset;
|
buf->sz = so.sz - s->dw_offset;
|
||||||
buf->buffer = (void *)s->dw_buffer;
|
buf->buffer = (void *)s->dw_buffer;
|
||||||
|
s->wb_size+=buf->sz;
|
||||||
if (s->high.head == NULL) {
|
if (s->high.head == NULL) {
|
||||||
s->high.head = s->high.tail = buf;
|
s->high.head = s->high.tail = buf;
|
||||||
buf->next = NULL;
|
buf->next = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user