X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hswitch.c;h=ab9e94b8e0aaacb29a3837649a68d308959c25c3;hb=98b214e0454f1b55c5ce665bd5c848354d18c9e6;hp=b4692bc5735ec44817d1b4a75721df2f3e1b6fba;hpb=af003cd2241146fd4fc67e5e6fdc0835c0aca66d;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hswitch.c b/src/afb-hswitch.c index b4692bc5..ab9e94b8 100644 --- a/src/afb-hswitch.c +++ b/src/afb-hswitch.c @@ -101,11 +101,6 @@ int afb_hswitch_websocket_switch(struct afb_hreq *hreq, void *data) return 1; } - if (!hreq->xreq.context.validated) { - afb_hreq_reply_error(hreq, MHD_HTTP_UNAUTHORIZED); - return 1; - } - return afb_websock_check_upgrade(hreq, apiset); }