mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
added integrative test of low level api
This commit is contained in:
@@ -23,13 +23,10 @@ static int wf_impl_server_protocol_callback(
|
||||
size_t len)
|
||||
{
|
||||
struct lws_protocols const * ws_protocol = lws_get_protocol(wsi);
|
||||
if (NULL == ws_protocol)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
if (NULL == ws_protocol) { return 0; }
|
||||
if (ws_protocol->callback != &wf_impl_server_protocol_callback) { return 0; }
|
||||
|
||||
struct wf_server_protocol * protocol = ws_protocol->user;
|
||||
|
||||
wf_timer_manager_check(protocol->timer_manager);
|
||||
struct wf_impl_session * session = wf_impl_session_manager_get(&protocol->session_manager, wsi);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user