Bump liberty
This commit is contained in:
parent
a90173c71a
commit
6ab7219752
|
@ -1280,7 +1280,7 @@ struct ws_context
|
||||||
|
|
||||||
char *endpoint; ///< Endpoint URL
|
char *endpoint; ///< Endpoint URL
|
||||||
struct http_parser_url url; ///< Parsed URL
|
struct http_parser_url url; ///< Parsed URL
|
||||||
struct str_vector extra_headers; ///< Extra headers for the handshake
|
struct strv extra_headers; ///< Extra headers for the handshake
|
||||||
|
|
||||||
// Events:
|
// Events:
|
||||||
|
|
||||||
|
@ -1319,7 +1319,7 @@ static void
|
||||||
backend_ws_add_header (struct backend *backend, const char *header)
|
backend_ws_add_header (struct backend *backend, const char *header)
|
||||||
{
|
{
|
||||||
struct ws_context *self = (struct ws_context *) backend;
|
struct ws_context *self = (struct ws_context *) backend;
|
||||||
str_vector_add (&self->extra_headers, header);
|
strv_append (&self->extra_headers, header);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum ws_read_result
|
enum ws_read_result
|
||||||
|
@ -2193,7 +2193,7 @@ backend_ws_destroy (struct backend *backend)
|
||||||
backend_ws_close_connection (self);
|
backend_ws_close_connection (self);
|
||||||
|
|
||||||
free (self->endpoint);
|
free (self->endpoint);
|
||||||
str_vector_free (&self->extra_headers);
|
strv_free (&self->extra_headers);
|
||||||
if (self->e)
|
if (self->e)
|
||||||
error_free (self->e);
|
error_free (self->e);
|
||||||
ev_timer_stop (EV_DEFAULT_ &self->timeout_watcher);
|
ev_timer_stop (EV_DEFAULT_ &self->timeout_watcher);
|
||||||
|
@ -2236,7 +2236,7 @@ backend_ws_new (struct app_context *ctx,
|
||||||
self->headers.free = free;
|
self->headers.free = free;
|
||||||
ws_parser_init (&self->parser);
|
ws_parser_init (&self->parser);
|
||||||
str_init (&self->message_data);
|
str_init (&self->message_data);
|
||||||
str_vector_init (&self->extra_headers);
|
strv_init (&self->extra_headers);
|
||||||
|
|
||||||
self->endpoint = xstrdup (endpoint);
|
self->endpoint = xstrdup (endpoint);
|
||||||
self->url = *url;
|
self->url = *url;
|
||||||
|
|
2
liberty
2
liberty
|
@ -1 +1 @@
|
||||||
Subproject commit 8b2e41ed8ffac0494763495896c6a80a9e9db543
|
Subproject commit 084e964286bfcd13ee6a25a2ee35dfba9da1072e
|
Loading…
Reference in New Issue