summaryrefslogtreecommitdiff
path: root/json-rpc-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-rpc-shell.c')
-rw-r--r--json-rpc-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/json-rpc-shell.c b/json-rpc-shell.c
index 8f19b1e..09c4d82 100644
--- a/json-rpc-shell.c
+++ b/json-rpc-shell.c
@@ -2085,6 +2085,7 @@ backend_ws_connect (struct ws_context *self, struct error **e)
}
http_parser_init (&self->hp, HTTP_RESPONSE);
+ self->hp.data = self;
str_reset (&self->field);
str_reset (&self->value);
str_map_clear (&self->headers);