summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_websocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_websocket.c')
-rw-r--r--src/nxt_http_websocket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_websocket.c b/src/nxt_http_websocket.c
index d58d615c..fb888f5d 100644
--- a/src/nxt_http_websocket.c
+++ b/src/nxt_http_websocket.c
@@ -88,6 +88,7 @@ nxt_http_websocket_client(nxt_task_t *task, void *obj, void *data)
frame_size -= copy_size;
next = b->next;
+ b->next = NULL;
if (nxt_buf_mem_used_size(&b->mem) == 0) {
nxt_work_queue_add(&task->thread->engine->fast_work_queue,