json-rpc-test-server: fix reading the request URI

This commit is contained in:
Přemysl Eric Janouch 2020-10-13 04:46:08 +02:00
parent 742632a931
commit 0771c142fe
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -1014,7 +1014,7 @@ static int
ws_handler_on_url (http_parser *parser, const char *at, size_t len)
{
struct ws_handler *self = parser->data;
str_append_data (&self->value, at, len);
str_append_data (&self->url, at, len);
return 0;
}