Message ID | 20240612144010.470339-10-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBBXXGU2ZQMGQETTIKDUQ@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=RDzBRtJJ; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=hfE+Cq5p; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13f; helo=mail-lf1-x13f.google.com; envelope-from=swupdate+bncbdy5juxlviebbxxgu2zqmgqettikduq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lf1-x13f.google.com (mail-lf1-x13f.google.com [IPv6:2a00:1450:4864:20::13f]) (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 4Vzp9w2SPzz20Z4 for <incoming@patchwork.ozlabs.org>; Thu, 13 Jun 2024 00:40:36 +1000 (AEST) Received: by mail-lf1-x13f.google.com with SMTP id 2adb3069b0e04-52c94ad861asf1636786e87.2 for <incoming@patchwork.ozlabs.org>; Wed, 12 Jun 2024 07:40:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718203232; cv=pass; d=google.com; s=arc-20160816; b=b55VKREcwd6FFpSX3Hwxmy0C6G6MdoTKnFfKivQHEvX1tuFOmNJVH+fJ02vrVH1gAs k1xAIa+1RvLpl2WpUJ9BqIM2GOVCP2tjC40YRl4hExH+WHdLtV5QpfUMZFUJ1AjplgaN Ltnp+gH5dKdi7YlvhrGN6IIfe29myqCKpSCpDv4+wJft+2ve1y7UeJtVIkhXUD6UCWE6 PZqKvHjS5c7SY7Whvs0pF93CjM5GxSJQJKRTD+7OWXh01Alg6gFc4jBdreJ59YIoOFzY YAdevmFRMj8SgVA3nA098kbBapuYeSQMZeLYG7hxy7jnxUPSuaW42e5pCV1PU/4N/QtM IbkQ== 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=r/b14B6gzvgA0KjjTnUfIH9DbStfzwY7VF9HLn3wed8=; fh=E1XLoBlcOXhEfZv/t8SLH4qIBe4rPowsqzD0IbTUUWE=; b=TNdIRerCaX3+//P3r8ion3YyL0SaBEsJ1v9lMVaAXjesM0y4i1vBfFrGpVUF/x6rpA CPZ8YCpOsSxTtCYk12A5gMdAizVIGiyH2cyP9ud3yGmM5w/e0LDtAKEXi5JcCx6fqLRu 77Dy/2WLTMMOGzNdr8CPBwYosJzcSzlCCObBpoDo2d3uB9RoQ/belGv3yR2ScjvdjHrG Pc7gh1jEXmzvH4S8KwT01yuuRFY5OG7JvkeAeImM+ifgDg06jZ5yjNoZhBmNOSS5imcL IbiIxRw7KhJXiw75iMKO5feOOzrj7Dio+KsGZkacTVB7iAVkN2iK/ojL3fPtk1DC7+Y6 v9oQ==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jdQCxtLd; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::636 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=1718203232; x=1718808032; 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=r/b14B6gzvgA0KjjTnUfIH9DbStfzwY7VF9HLn3wed8=; b=RDzBRtJJeLEXBcZlz0AJrBZBuAHjX/nJu5xbDeWJR7ms8ZHVe0AIQsdVvGk3XrjkEK NsaJDY7lf5/RtBM/840PlkAONYItk2NIL24/f6HWQ15uBmfxT/4n2PnMUW9nnI36UopB 86nQzJzcKpg4d90T422ux4uoxMq1HOl3TfPY5XWEbDpHNesGtDaV29NObBqHsXxbU/wn ttetN2TYr5bvJYGbY8vbJdh4UO0FdYqzA1vxCfkVK7Wj2eMl84g6yy5bfnLGifPJLnCl f+czTZVa3YbQyviFBBsjDhbTzKd/chvzPwdR5gPFg/YJQSwSHUMLGj006rYVczgM6dG7 WESw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718203232; x=1718808032; 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=r/b14B6gzvgA0KjjTnUfIH9DbStfzwY7VF9HLn3wed8=; b=hfE+Cq5pigUkrBZNQn9Fs60ZM/RXzJVy7G/pQq159wo8Cc4JsO9gsdgXuVUTc6gSb1 cs1p9SWPLrp0C5hhh6rxy1luvN+WJmq+H0aYCQJRyQQ+MTUeKiC1Xm1NjulflhjJqJMk 4MIGDc/jcfAADjVpuz0w8hUlav01CxtLaumXw1z+D4G7RhfpyIL/OzJ+lFJXbfm8hD0O zMaCAB4HhNLItcc8IgKauG+qIPcfm3BcWTCBnF7OQW4O4BRpoMZcEtCujxMAExRosSOU C1FipUwButtik1CcGuDgEw3YpiclpMlFOUV/0ExtuoU9fG6PrYBn1XjQdJrNeJ2A6YSh Ygiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718203232; x=1718808032; 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=r/b14B6gzvgA0KjjTnUfIH9DbStfzwY7VF9HLn3wed8=; b=WJxHaWnKcbfQ2OOER0GuX/Ol5Zt44wdDykCVw2GmxL2prwCnLN5smBkOS69LplsGMn dO5RCa3tJW0PEwpN4EgvuZqXBJxzEOg5fFjOVI+OvqgHWhyiFZIrjLIKgtIxPIQ4Qysw H3SjmvjmPXE+IDTLSSE8ZD4RqAmNrcx/e8mAGSyIFzghnF/UAqw6ZcHW637o0U0ZzChd 57269uGLlIqrIE7lb2GRToZ/Ug/W9n24Bwhe8F+XyVzIX8FRLnaS9eqEukk6hoj0gNjc NIdhJtFU+Bf+qceXI0nhyv/6W4w4EJY3w1RdGAj3zhu1wMi+w+G348cPJjvNIFG61JXn pr8w== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVT3mzv67VoDbZgNhr8i7I1ayNcpo9NQbpmEYxdt9YiSi8i7EhtxQazBd+fZ+G03hh++8T5du2QyTU5Tz9fnIPxw+/pje6fGWpYRaQiow== X-Gm-Message-State: AOJu0Yww1xVd8LrluSZQLND3IfzdJbOCsO4nMOdoERjUIAQklhg6+sfG x+Y1nt0ehFR1zK+bmvJ6julmJvZ382u7raApPG+f53ClDOvJhiDb X-Google-Smtp-Source: AGHT+IGCragmU3e60OW8ivz3ijutMLJKbNlh9AJDdSPJIbP66lUrRhEj7sj9D/n64mLy5xpiE9MOtw== X-Received: by 2002:a05:6512:3687:b0:52c:983f:8ad with SMTP id 2adb3069b0e04-52c9a3fd4camr1333713e87.47.1718203231662; Wed, 12 Jun 2024 07:40:31 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:3d02:b0:52c:8476:eaf with SMTP id 2adb3069b0e04-52c84761064ls145179e87.2.-pod-prod-03-eu; Wed, 12 Jun 2024 07:40:29 -0700 (PDT) X-Received: by 2002:a05:6512:3047:b0:52b:c296:902a with SMTP id 2adb3069b0e04-52c9a3b978fmr1596552e87.5.1718203228555; Wed, 12 Jun 2024 07:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718203228; cv=none; d=google.com; s=arc-20160816; b=ptYe2wiwH+8kWqIgG04ABa1ksGrbvIKx6Q/JM+PgHYcEIH5NGqqpK8EhY+lknhf5NS 27mrbnoCbhWvOuzcYmCj/dWwh2hXOuGrkvIjrLLov+1MpyGvc2CjQulqZ+SIlRXsLBLk GZNJuLVOj3Icz6brkqg8BwfxFAneeAkoLWpqF/Ue6drECmFOaPsKYLHFOFLkLrH9mEE8 4CHK100Chfpt9mzED4S6in8Gsvx8UlL6wCivK+E8kT8hMqV/Jfmbv4OGxE0CGX5UgIKs l8BR//svZKlyDFW8EZ0GCEBJl3uKrbJCRl2qMX7vB9Om3+9CsK3GDmXVXtxlP4ALuDS0 Vcbg== 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=S0uMM4Np/8WfiN/0W+A1OLME+n5F4lIxQocs+6db6Jw=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=eF25x4xcg4GhbtKbDNn9sUALQzXvyPCNxp+jZQRNIxl6q8oLvGlOdGDU01MrT8WP3s 6i4l201qKRcRVvGHXXyYbZO5g/Xv0OrnhAhE6AF7C7Pab9FkLolQdjcfqP+MyEe9DRsp 3H9bQMmRO2goHpLnjuBNS2IuzV49YVqczfRQ74Ugdszwq7sKDLVEbsI20Co6vRbFZDLE G0nH/PmtoPdcJEbrk7nV06p629yAixnl2k2B+CErH91B/YKOY+M4TZDOSRhcin/FzsC7 +vUYrjtEu3NsY8j6lcHf4QpAy0HyyonIYUPkp6XGs0Pcs+JLHVLirw31hdQV0+Dt2FJY bDJQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jdQCxtLd; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::636 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-x636.google.com (mail-ej1-x636.google.com. [2a00:1450:4864:20::636]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-52c9d9e3fbfsi25959e87.11.2024.06.12.07.40.28 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 07:40:28 -0700 (PDT) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::636 as permitted sender) client-ip=2a00:1450:4864:20::636; Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a6f09b457fdso401489266b.2 for <swupdate@googlegroups.com>; Wed, 12 Jun 2024 07:40:28 -0700 (PDT) X-Received: by 2002:a17:906:3498:b0:a6f:16c7:9130 with SMTP id a640c23a62f3a-a6f47f894b2mr133971266b.28.1718203227440; Wed, 12 Jun 2024 07:40:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:40:27 -0700 (PDT) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [PATCH 09/23] mongoose: Replace deprecated event MG_EV_HTTP_CHUNK Date: Wed, 12 Jun 2024 16:36:07 +0200 Message-ID: <20240612144010.470339-10-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=jdQCxtLd; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::636 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 |
Update Mongoose Version to 7.14
|
expand
|
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 86459c33..2ccf4414 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -714,7 +714,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(-)