From patchwork Sun Nov 14 17:27:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1554915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=BHRJUazr; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33f; helo=mail-wm1-x33f.google.com; envelope-from=swupdate+bncbcxploxj6ikrbqmoywgamgqeb7kmdta@googlegroups.com; receiver=) Received: from mail-wm1-x33f.google.com (mail-wm1-x33f.google.com [IPv6:2a00:1450:4864:20::33f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HsfS53DFyz9sWJ for ; Mon, 15 Nov 2021 04:28:37 +1100 (AEDT) Received: by mail-wm1-x33f.google.com with SMTP id n16-20020a05600c3b9000b003331973fdbbsf6928457wms.0 for ; Sun, 14 Nov 2021 09:28:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636910914; cv=pass; d=google.com; s=arc-20160816; b=FAxIugcAgWSOlE9F33tuQ1V3UiKEyy3Fm06OUXNhYABjuPao2auNqiwgfYIoQfeLMD 9nftPwUIVXSTce+3dYc3FF/eoA98KNb3bMZwwvRUilXz2+219UCphtpJpVIe+jXNhQae C3Bgm6lqdnXVJtJEcPdF11hpXd00dkJwkzIChwBOQPGWwH3N/q10kuogEJKF35I1Ifcz NqVEryYviP5RPeIeEr6R5Llu4roqKuQkHpaXLKTy3lMaB55+sp749j6cnCP9T0ndR6Yz 6hD11rTOK88p5Kx/CMlc7gfKCaVLPeffuGc4b7Ci/umUSARazvirZn1h/1HZ7QRi21bv RJQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=ZRBo9TqwLhEBzLZF8p0nyVzXwlDnTPjUIRt65wwbb84=; b=KRh/2RjNtHY9qgJLAz12eCq1YRfa/ie2Yb7H5Q+rycPkZ/upMWIHm71TbBN73vs6Jm Bgthr7hHC00YPWgVAddhNmHpAaT9l6icSjJqc3HQcDoL5a3gwx6WQ8ZTz0aUWD7zilI0 yYe63x3BjzwOS54OADb8Jmu5y11P0Y0AkAseTMx5J7IdSjA1x9NcgiRoVJyMTS0+60rl TA2jIAK4mS9cuwhKpu+3sSslwR2qCwrksn8yff5uDlUU7syQ3tKs7IanWYMBbT+RQf9F phggYhaJvh57yISmotcvDwhplNP10+fNEoR+eTHDMKD3hsxdhbUFkWCniIGFcHRYdhQf xtsg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ZRBo9TqwLhEBzLZF8p0nyVzXwlDnTPjUIRt65wwbb84=; b=BHRJUazrRDDVyGHbyzKtyD9gMQ5HEsJ5i7MP2sU+icS/UYbzjN9/cxa9RlBTysOBSd O43XKrdFiA+hplZxM8Suoc4hYNOqVqVYtbkdaCppGpTXozasG499i8VQsI5SWjZibiNW xKYTbPMzhvLw23bXh48FjwQjkuWBsG0404hOiijXn0WwzQcTyBtnxiYghL3WVeB0Vo1i jmQXkov4i6NsDjnO9lt8oWMgI5JKQkZXU1cQSUWpXOnLPoS9i8Gmj3BDcI+ec0uw5daG mMkzw23i/0zqSwfgh16Lz+fHHpCtux+yV+9Y0RnoPijtxGTN4nOCtyT/tHpmLva9GzBo YwCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ZRBo9TqwLhEBzLZF8p0nyVzXwlDnTPjUIRt65wwbb84=; b=MCXXVF6BN6igPZXI7JuffzkIpWANwIAjYqtPItuuaydhXgH08nG605J3B/ibRGAlF5 jJZry1EbE4WntKTgkzu351s2iXjyoVQA1eAX5Odg1W012COPbjZhHbey+8mevMrh9iIx B4YcxafwZnDzVtG8uVwL1SvqXiKkB+895nsHO6Us5xNXKeIT0a3pJG1yBerw8UsuHXCi ssywQiIsYS8ga01aDQ5eQ/HxNPiq/4qylDsErykdcWm4Ky4/2DYlnFDp/DS0RPkAjjRe zQ8u7rmq4vqrmqY2Ia1kAVuG8SxQCyWHO6f17DLQ7AhxC1rhVp8bqc3nfQ6d8nYSQUTa Skyw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531JpLmGCNGWASrbee/UouZbRt7ii7/UwYW8HC5l5qT/iKN/iE7Z PMNr2P9Wxz0djhGqcswbfOA= X-Google-Smtp-Source: ABdhPJw2tWO7Jbb0QT3Oha8bd3v5xfahanlpuLoh9zk2zZZXCboNvU5mzD16bib91bsVSKj8yoGVww== X-Received: by 2002:a1c:6a0e:: with SMTP id f14mr51788199wmc.58.1636910914157; Sun, 14 Nov 2021 09:28:34 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:4092:: with SMTP id o18ls7203192wrp.1.gmail; Sun, 14 Nov 2021 09:28:33 -0800 (PST) X-Received: by 2002:adf:fd4c:: with SMTP id h12mr38478529wrs.429.1636910913367; Sun, 14 Nov 2021 09:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636910913; cv=none; d=google.com; s=arc-20160816; b=HdqDh0VBSGgPW5gyanF6VmNYrATi1stHKUNux5aS+u0GqUeqIY72yuVyGg6or0PUKm ZCpUJA21fBWnBOlz0sNIoGknmtLgyJD1C9b9Nvem/EBKLorHkXuLiv/r/OIbwCK9uxiG NRPYr/BrbqYLgtK4jiPdQKcRUyFV212NyLqVSD8nyDLlFCJTC3xmuafGPNkBl/HXOGYL cVrblcRAlVSzlEtjL/rZfKmVnshOvrdGxSaoGEHgiuqd/4zcGT+wXXHZUlBrIxPh52Ne bfoI18Zlyf+Jb/lPZuqccgWt32G1/Oknhk/7iJcO4bMXoVUwIiEqasszv6iKFNJknLUg Bedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=2dXppPk+vJJVytlKVRK6n2tvFFyhGswLZUfjWRN50Wg=; b=adgdAoxgwp1V6nTxK0tH7DvlOKoKZJ/8QjF9PwJw7HY3iRgHkrAOUn0P04ELoik8Hw IvnbEnHcv7/wI00GS2B3nnS0LFvXc1AohymZf5TvHqypvfT17wzSO5/RRlrv+BKZo1hp EMwz7pgqoLMTpIgntojBSE9h4Rs+gR/23lLS8MQWOmypeHh5MKA/L+Aj9tj9H60g6BSC 0CsahtTIIZE5D5rN0NmUGqicwVqdrLX2GjiYOHYQa3iTqyr1eSLMiWukJYcqBzIuEH7F 0swchTuBzzaI8bswfWHfn7oJ5Dglgtk3g69zDhzM5nyV2fp55s7b3fRmQGImLBRwo4kB oB8A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id 201si1064709wma.1.2021.11.14.09.28.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Nov 2021 09:28:33 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HsfS11WRkz1rk5m; Sun, 14 Nov 2021 18:28:33 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HsfS11Hp3z1qqkB; Sun, 14 Nov 2021 18:28:33 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id cum7lNAcXBq0; Sun, 14 Nov 2021 18:28:32 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 14 Nov 2021 18:28:32 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 14C584540853; Sun, 14 Nov 2021 18:28:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SNmHzvh459gV; Sun, 14 Nov 2021 18:28:24 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 9D78F4542806; Sun, 14 Nov 2021 18:27:46 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH V2 25/36] server_general: fix warnings Date: Sun, 14 Nov 2021 18:27:22 +0100 Message-Id: <20211114172733.71602-26-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211114172733.71602-1-sbabic@denx.de> References: <20211114172733.71602-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- suricatta/server_general.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suricatta/server_general.c b/suricatta/server_general.c index 056e9ec..cc8cfd0 100644 --- a/suricatta/server_general.c +++ b/suricatta/server_general.c @@ -409,6 +409,9 @@ static server_op_res_t map_http_retcode(channel_op_res_t response) switch (response) { case CHANNEL_ENONET: case CHANNEL_EAGAIN: + case CHANNEL_ESSLCERT: + case CHANNEL_ESSLCONNECT: + case CHANNEL_REQUEST_PENDING: return SERVER_EAGAIN; case CHANNEL_EACCES: return SERVER_EACCES;