From patchwork Wed Jun 12 14:36:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Glembotzki X-Patchwork-Id: 1946976 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=DwPcMCo0; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=grOHl04G; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43b; helo=mail-wr1-x43b.google.com; envelope-from=swupdate+bncbdy5juxlviebbyxgu2zqmgqei3uucoq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wr1-x43b.google.com (mail-wr1-x43b.google.com [IPv6:2a00:1450:4864:20::43b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vzp9y6Qy2z20Z4 for ; Thu, 13 Jun 2024 00:40:38 +1000 (AEST) Received: by mail-wr1-x43b.google.com with SMTP id ffacd0b85a97d-35f271c5b17sf1225888f8f.0 for ; Wed, 12 Jun 2024 07:40:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718203236; cv=pass; d=google.com; s=arc-20160816; b=0b6yJ24phpIXY1Qm/NEwYEhBW4vSh8GOTAJJR4QuWHdt1VC1iplUcv87MCfFz5TGHb ECMONVd+YJ2Np1UG4VK2SkgZqP0togSMftKElblBvhhmwcpBYwhhrRDck0ZVyUZNHlHd sjFYqe0QGqsVQhQVgjkUi14B9eyOnI/6GgUzsxb99xuny+rfNuJ64x+vwfTu073YBRVj II/uNgRb5Umo4P3WDuQGZQIUrpYGgbmJ0VeH+iCMPOEgv83BMDD+5u/92CKjm8sgtLi6 fP1258hjbO4CfbzqcMWBSy5syR6W9ctfQXpURefsHALohaLZmhjN7hUpIOopEn+Y1z/1 lHLQ== 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 :dkim-signature; bh=lUpnqKhKZFLpCDdY4nYaqvjfGmapv+7xZdFBefoHF48=; fh=W++sFqERG+pIzZ+dy6wtQDRBr+upEh+qaFT7loPmchc=; b=ilkoTQfZmInAI76ZjH6Ffm8qWbXbpHZFXZj1Sv1HLg3Pq8e/Gi8IctyYhIzCSlw7lj p3y+wGcLh4NBamJ5s8ns+glVJSsSuVtafME8JCyalkXTxWYORi4Dp61UZo+Q4HIEWBB5 0I5J0jT2H9tW5QXiCNLsIuJTr63FJ4cXvXVQYpyBKDwCKLJUuuXBQrxU0ywchMYzbYW7 FcALmQIjseOwt12N4xM0WqdIRcWU6IGwcMB6BJh6DpCiQbRMu6y9TC5SLgEIlvitwhj8 aA0s/5lOYVMgREcMkeLXQAN5ZUN5Z7D5aCMZJo6cwtjtccoOXjtac63gy8hD+5cP5L2Z Seow==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dcahunTE; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718203236; x=1718808036; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=lUpnqKhKZFLpCDdY4nYaqvjfGmapv+7xZdFBefoHF48=; b=DwPcMCo0dhmpNXC5EKWYyLepv0Fb1gOhZ6wBtqWHVkJmjdZclfx6w6LoiyHjIo8x/u GNI2LxVALDQm2nU5hdvXCOanSR9a3NPXkLsLa19eaEPdX0gqh4UpOk3ziIxfvfeOyumm vqYmC7XierKAR0iTkHzkGZ4Zj1Izaa0xifcGI09AIUAfOEYqrT0Og3+oMVeYnY6YiNib T85UhCUNv1OyTONlNAyReMchJcucyHR2RGJmwKhHrX013pzX21siE9zv2dlYqe/IOXII JXC5JGZTutY5wIzQXUK30UenZ/BZAa3WhNxgArtpdDbq2NJSSKBGZ6EV42LdXTmIfuYS Z0fA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718203236; x=1718808036; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=lUpnqKhKZFLpCDdY4nYaqvjfGmapv+7xZdFBefoHF48=; b=grOHl04GyUBdm3F0dNH3mjzfIQ3wsLq3s3bRBtJOKdjpTe18eagOXNa/y8soKHwRZ5 PVwrLucD70zpBZbUBbYVZ5mbq2hLvNkVi71lAmm3V0zYifSlVV4Y3F6VPwxDre8IPNKc waPP40Ya2W88yTxVwdXi8uAccvl3ZIQBHtZnATkp1vDsZzS/hqApzGgyhbSwQB05PBSr DYOfNxutrCqpr+etkbMdyX36o+ltqOGjlbbnCiw4JkNeGWQuh+KF9R4DVxzlVWzsO2TB YSBezOdIvQm1hv6he8XRuSoXiYa/1wYUnrvqiatCP70OZUzDNouM9yVhwySkTvIzOEcx f+2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718203236; x=1718808036; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=lUpnqKhKZFLpCDdY4nYaqvjfGmapv+7xZdFBefoHF48=; b=D8RlllERTnJq0rm1ZERV4fIp7gcn1+KJrwXM0VH3elc8hbP5CN8f7r5pb+RL1pFc+/ eZTo93IgMbCY6DkOEVGqe6XbEqHrGtAaEPpwMQAKthitBs2RdX/Hq3Lhn6FCuBeHzJlg X/V+Jz7aJKj53S1mstxtEaSbOvqEXXshdvz87d6vL/GNq2Mxnw0kShqCzi9KxLbsxyyy L8QbHGeU1tz8nU7BaFSCdDfeBq+S60NE2mly0WoYPHfjrvY2lijcDMuwA8tHVe/WsCce g118Q1U16bF/Bms6qk2vX/B/AqP61GotIjhbqmL3Nxymu2fGr56FYf2JgNQYdlUMkkYs HnFQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWNksSY3KrBvfsxy2+kB2gizEuYRM2EJUbjDzh5IZ0FDOCIH0Y4xWH4dT6wKneu8hQfml5NazjxUD7cNzXdnlOcp0X/aUwFpqapFsTvfA== X-Gm-Message-State: AOJu0YzaIf8qBpkAfsUipx4Gb1U2oZk+2k8Ol53+9h5vILG3FlMHU0Mi CIiAWrLBzSoFElto0F1/lgxTByeYEOZqUM2olKME1hrKhj41SJ9O X-Google-Smtp-Source: AGHT+IEqBgCktsgXLGP+qJwNvXnd4d3EjDoaMhRbob+bNxuIeX2O/kZiOGxWPGFfeENu40phe4oprw== X-Received: by 2002:a5d:62cd:0:b0:360:6ea8:9d49 with SMTP id ffacd0b85a97d-3606ea89e70mr1163746f8f.4.1718203235807; Wed, 12 Jun 2024 07:40:35 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:f945:0:b0:35f:2f47:9368 with SMTP id ffacd0b85a97d-35f2f479449ls503324f8f.1.-pod-prod-08-eu; Wed, 12 Jun 2024 07:40:33 -0700 (PDT) X-Received: by 2002:a05:600c:4ed4:b0:41b:f979:e19b with SMTP id 5b1f17b1804b1-422866bda05mr17342175e9.39.1718203233088; Wed, 12 Jun 2024 07:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718203233; cv=none; d=google.com; s=arc-20160816; b=Cqp6dyEQiMqtUQTMqWCj2qqJZpYMjcWP6ijEEyc2yhp4Po1p6DgbNbuawHhgOOC14z ctyF/HsCTet7tfHpEMeRqHddHOUl4dkn+kPuF/lljLxMvknEoRvUhFEHPMysE/swCWKk xqyS6GrjEeAa5FO34xZa5xr8UGchNoaMhTY1p+BaI6ID22+Mly20HfRfoKvUzOXOQWRE DAzdcu/G+6Wkv2LX6x7O8LjYLV123ozN25Le94ITJzcNZBBlbosvnT66Io/Iq7Q0G58m t9CLRIagR2tAe4bHy/TnVxOnzruhKq9iV62dZBwL6AwKgYQrxjh2qf0T7yF2mrPrWeTI oRHA== 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:dkim-signature; bh=ktiq+WbvRGU71uWjbFObol+8TQKVyydzgHLgNZEr9Pk=; fh=6r9+3SJ8FexCbaUJ2AKQHyqDaOhiU/zjJKcpzDpzyiU=; b=g5PZEudN2No0/jggVaunj0sI3RlWvZpeq+jg9r0XCmW5IKQ891WaNma1bQNIFMVzuJ QtKch+2LMSkih4Egx2q2D3OqSPH8zUxFBAengzL93lQf5iTxY+xyvg+QiTFXTQz3SudX I+4+9PmtdKs2DfzknIHe2/Bahb4n9dtxl3FMoG8nHTS7sggDJtH5+Zyl+OYQosqoLY0N WZBffOezjjd1YuDMq9+4RcQsQyJxxy+ia1OcQBX1zDTP5X7k9gf7T+F1bNzQfsfdrt8g 5FLE3z1cmhkJtq+hL1Qjzs+FFymsqUCWZBYsb6fqV1hx7TR7tuaDMnHQTaIT8o/r6xw0 vnhg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dcahunTE; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com. [2a00:1450:4864:20::629]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-42284b090dfsi1359865e9.0.2024.06.12.07.40.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 07:40:33 -0700 (PDT) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) client-ip=2a00:1450:4864:20::629; Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a6f04afcce1so304015066b.2 for ; Wed, 12 Jun 2024 07:40:33 -0700 (PDT) X-Received: by 2002:a17:907:9722:b0:a68:fcc9:6c1c with SMTP id a640c23a62f3a-a6f47c26f3fmr183030066b.0.1718203232171; Wed, 12 Jun 2024 07:40:32 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:76fc::b071]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f16b27ac7sm481179166b.54.2024.06.12.07.40.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:40:31 -0700 (PDT) From: Michael Glembotzki To: swupdate@googlegroups.com Cc: Michael Glembotzki , Michael Glembotzki Subject: [swupdate] [PATCH 16/23] mongoose: Adapt interface for mg_mkpipe() Date: Wed, 12 Jun 2024 16:36:14 +0200 Message-ID: <20240612144010.470339-17-Michael.Glembotzki@iris-sensing.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240612144010.470339-1-Michael.Glembotzki@iris-sensing.com> References: <20240612144010.470339-1-Michael.Glembotzki@iris-sensing.com> MIME-Version: 1.0 X-Original-Sender: m.glembo@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dcahunTE; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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: , From: Michael Glembotzki Signed-off-by: Michael Glembotzki --- mongoose/mongoose_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 24311468..02d1c4eb 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -913,7 +913,7 @@ int start_mongoose(const char *cfgfname, int argc, char *argv[]) signal(SIGTERM, signal_handler); mg_mgr_init(&mgr); - ws_pipe = mg_mkpipe(&mgr, broadcast_callback, NULL, true); + ws_pipe = mg_mkpipe(&mgr, broadcast_callback, NULL); /* Parse url with port only fallback */ if (opts.port) {