Message ID | 20240709111440.8215-8-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBBR5XWS2AMGQEZ3AX7MA@googlegroups.com> 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=bqBRD+mZ; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=E9YiYSt5; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::239; helo=mail-lj1-x239.google.com; envelope-from=swupdate+bncbdy5juxlviebbr5xws2amgqez3ax7ma@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x239.google.com (mail-lj1-x239.google.com [IPv6:2a00:1450:4864:20::239]) (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 4WJJLh4zXmz1xpd for <incoming@patchwork.ozlabs.org>; Tue, 9 Jul 2024 21:15:24 +1000 (AEST) Received: by mail-lj1-x239.google.com with SMTP id 38308e7fff4ca-2ee87546e5esf52710951fa.0 for <incoming@patchwork.ozlabs.org>; Tue, 09 Jul 2024 04:15:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720523721; cv=pass; d=google.com; s=arc-20160816; b=yDPj4rb2D0Gu/Uil4Pm/RkEKPlfOcLvqMgB0gVyR6wSeV0ORazei8OXDtia493RRa6 boolQxst3qin+yP/PX3++CXWg35HPJ4ThlUmL4lOH8utO1Me/Am/jIftIvNOl6+6IZQp acMSy+mRkfXRuIB6/bD/mLEacC8ahUZ/1w2FyyrBG0AO84s3uh6Aqc0MLurqrd/ipYs4 8mlE9dKrxOAVn0HiPZ27Og0Lv/gnnq6I4zo5p8hrzy1+4erXseShrZubjyT518YLtsyI JArFqCOZz3CTk5YJZ1aOgyZttbXhw3QMwWkX33zpPR7SD2z0YWzZ5jY2cHLMSmCmMNRf ekVw== 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=1m8cnqgW8XVCwjKqbBHi+Bw8F6ak/0X1xX3EjOlhmCA=; fh=gk2J3gAouHmJsrp5x4ELrDkqEsGjwMC4pPj+f0WIIos=; b=LjCJO2t0WZZX+o5a757ImdsQaej3BV2DMUAjvHJhJ0c7isxz8VIHvigP6JdH1H6CSa E4f4T1wL6piVsprnsZIhnprer+puL6cGRtY0Ht4LJn3I59edNPhyiOAzhLnYaAm4uAEd XYYhTeyUYFPIkDhaISvtemA5LGpEsZr+bzauWKKSK8zHBD8jQArKm5pjSwaSdom6bS+3 xepPjOpLnVvFBRAXnObER0TcFBwY+FdopqTEytT0rXnFGgGQdlIu56T1wBZzcW6XrrCI mgUOqiH39E8t/+3WNeubbT9QqZBeq4KDMSdr5YLFzs1A2dZ5VsPEIv2H/zAPI1vmKTBs kzlw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KlNT83du; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::532 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=1720523721; x=1721128521; 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=1m8cnqgW8XVCwjKqbBHi+Bw8F6ak/0X1xX3EjOlhmCA=; b=bqBRD+mZjf2AOSd4jl+K23z4Dqw2pYSIrVk4nGECypFbUW1PuHsiK5QCRyc+c7NwzE LaoNZ62Civdg/qzJZgj+kcQXmf2IopEEJtOM80z9pIPsLdFwY+i6LYCNf4Hj78TC53ms Py38avfXq+oWHIM4MECPXTI0B4HuKdZnGY5obeDIiZPqn7ugMNOe5gCPTkOgGFJgVC6Q YeoCsc22BFZwZvkpcRXPqO0sFnomdvFjfB8L5z/rzh/OSXSmxoQIz/oJB1bFBauA9AAx fMc3FyRI0KQOrARO0LEwmDXQyBVjLePvcXeC4Lk2MZ70p80k3PxU5DpQBCLEOTOvRNJ8 dZRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720523721; x=1721128521; 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=1m8cnqgW8XVCwjKqbBHi+Bw8F6ak/0X1xX3EjOlhmCA=; b=E9YiYSt5DwpdgVJ1hUZqPJK579G7b1CfKfw1OSc22isZKdWSf56UX0Rjmy0Cq+ei29 sv/SI8FmVP6rsEnrc/DueR9MC046RzX8H6YnpsaX373FAG5S9fQUslylv4Uc+l0WkZ4u fZY946aNmx6u4aiYXSDYAPHe0aRrvnvoRtUmkHV5KQO5WCS1kpiKszwMGH3y0FPxp1DX g8nPaArtHIAe6ddwLE8QLIr8sEp8G6BGhuBTSOb3A4ndKcOT0Av6PC2i5xImFU22TXJk 5OyBX98TZt8RplApDvBMeVa+Jnx2/B9IDJOLQY7aydhzjaolOxcZnniE+fH15g6L3o0j OT8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720523721; x=1721128521; 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=1m8cnqgW8XVCwjKqbBHi+Bw8F6ak/0X1xX3EjOlhmCA=; b=JzQ/vP+9wX74Mp6Nra7xX3283pcSycP4llXCaE8atURwgbywmYOV2hjk7Ni1CEewst dG7ctiz++xZsEf7s5M2IabNKdpbySLKBe0/zIVxcKG9zsjfOrTvi3hRq7cqfdicQhKvf eQeQVHjfyvZPxkqxegp/oiC8wwQhPTwIMJ5W6/OrogjaSe5FstlDEnjMBmw5/PPNq0Kw 1ttSIGeY+lz4m2Va8+07u/wmzR/zB8Uo0lTNraOaCglYu9EdBj/HDFByNfOiqzI4zgEM 4+q/u9UPIFugaaCco83JMdwWt5nbai1B3IPyvi2FQW3ycZLETGrYUvAIA+0bX731GvRC xXog== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXVcjnRDB+XXY4QIjFAsDIzHbNkaVnqshsds3MuwOc01SuR8D5+9ZWQla5D5pxEI5NRyQqQdbw7hL4XZckdmXftwzDuqCXeNakJkVhOGQ== X-Gm-Message-State: AOJu0YyD/X2xXbsKHDOQhmM5XiVLf9y3Ah0AYtCNi8n8ZWkzKiDpHZBu ECm49pEPsVyWX4DhlIReAci9RNOORoOnPdqC/iwG8t+eaP8kv7PY X-Google-Smtp-Source: AGHT+IHCHyI14PVtyrH5i47NbiCwNAc+tbJA5GUVkOIAW0NbG0JSJpXw3KLIFWjHoFcIH+YYU9JjEg== X-Received: by 2002:a2e:9259:0:b0:2ee:7255:5032 with SMTP id 38308e7fff4ca-2eeb31827f0mr15120301fa.34.1720523720798; Tue, 09 Jul 2024 04:15:20 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:651c:107a:b0:2ec:481f:2bd5 with SMTP id 38308e7fff4ca-2ee8cdacbb7ls24232131fa.2.-pod-prod-06-eu; Tue, 09 Jul 2024 04:15:18 -0700 (PDT) X-Received: by 2002:a2e:7c04:0:b0:2ea:e98e:4399 with SMTP id 38308e7fff4ca-2eeb3182839mr15926151fa.36.1720523717755; Tue, 09 Jul 2024 04:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720523717; cv=none; d=google.com; s=arc-20160816; b=STR2LuT94Avau904UZCILt0Ayat3YWKn8yxw/9fmy4be3Met7HpvJnYsVaobs2qWDZ CApZZVT7iQKzPHTHMtUXqIWLJE9DoKpwAmPuG+NL/2lxTCXdII0li2P8baY5AfAtpjgf 6yYueJvms2X8gqZuLLfNiOkGUXYSxXon+2pefAMgSzsPHInS9lQvLWdstzHIN4rL4Y+N tYJgW2ozNn1i2wC4kMsfinwuG7kkElwpXbZxbqk5m+D+1zrL0WI6kQuktR0Wnwi/YHrl eR3a+TVGk6JlrVeg1neTWXoIsWOhSMARSynZReMFM3ulgokiqoYgNH7WuurI3v+Casdf L5mg== 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=kn2NunkyE4fYuZq2NkygmtArSKSHvDPDXhCevYyXUwI=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=Irdd7mPaY0MwifhNjhOWxmFSogxqkOqgmcucCl8JmbbyI5/kASwgPSR1dV9ZFJL6SZ F1tTiG2dtfU3clN4OXZFMMg7xk7rUNA+6R6TkF1G8hr+n89TJHqvIDB5elQizU7uqWkA 2MlLPbc66M4F3s8TysPYBTpga8bx8WJfY0G3Z7M6sYTSNXX/q2neYHL5A0ijjKid6s0s UgOos7tlzFgpqYm7mPBCZGPjKJNw0nm+MlZgcuum81pXan83MYwOYbSg6sEGsgaW+t0N zPh5yGsxe15wrqxg1J9+KRmKmpE+QOvZ+MLp8jBfGMhzuUSDPHhzIj/3kInSU5PLXtRG TCxA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KlNT83du; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com. [2a00:1450:4864:20::532]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-426725585f2si716485e9.0.2024.07.09.04.15.17 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jul 2024 04:15:17 -0700 (PDT) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) client-ip=2a00:1450:4864:20::532; Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-58bac81f419so6616455a12.0 for <swupdate@googlegroups.com>; Tue, 09 Jul 2024 04:15:17 -0700 (PDT) X-Received: by 2002:a17:906:a399:b0:a6f:b5cc:9190 with SMTP id a640c23a62f3a-a780b6b18d7mr144356366b.28.1720523716739; Tue, 09 Jul 2024 04:15:16 -0700 (PDT) Received: from PC-2635.irisgmbh.local (dslb-002-203-138-100.002.203.pools.vodafone-ip.de. [2.203.138.100]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a6bc8adsm70739166b.14.2024.07.09.04.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 04:15:16 -0700 (PDT) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [V3][PATCH 07/21] mongoose: Replace deprecated event MG_EV_HTTP_CHUNK Date: Tue, 9 Jul 2024 13:08:43 +0200 Message-ID: <20240709111440.8215-8-Michael.Glembotzki@iris-sensing.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240709111440.8215-1-Michael.Glembotzki@iris-sensing.com> References: <20240709111440.8215-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=KlNT83du; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
mongoose: Update to version 7.14
|
expand
|
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 3fbe88e2..eecaa407 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -710,7 +710,7 @@ static void ev_handler(struct mg_connection *nc, int ev, void *ev_data, void *fn } else { nc->pfn = upload_handler; nc->pfn_data = NULL; - multipart_upload_handler(nc, MG_EV_HTTP_CHUNK, &hm, NULL); + multipart_upload_handler(nc, ev, &hm, NULL); } } } diff --git a/mongoose/mongoose_multipart.c b/mongoose/mongoose_multipart.c index 3361169c..a2932356 100644 --- a/mongoose/mongoose_multipart.c +++ b/mongoose/mongoose_multipart.c @@ -336,7 +336,7 @@ void multipart_upload_handler(struct mg_connection *c, int ev, void *ev_data, return; } - if (ev == MG_EV_HTTP_CHUNK) { + if (ev == MG_EV_READ) { if(mg_vcasecmp(&hm->method, "POST") != 0) { mg_http_reply(c, 405, "", "%s", "Method Not Allowed\n"); c->is_draining = 1;
mongoose rev-id: 736e7a2cf96b4768e2c5c32985becad839750947 Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> --- mongoose/mongoose_interface.c | 2 +- mongoose/mongoose_multipart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)