json-rpc-test-server: fix reading the request URI
This commit is contained in:
parent
742632a931
commit
0771c142fe
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue