Message ID | 20240612144010.470339-8-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBBXPGU2ZQMGQEG4JALDY@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=pC09dHvJ; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=in9iF3fz; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23f; helo=mail-lj1-x23f.google.com; envelope-from=swupdate+bncbdy5juxlviebbxpgu2zqmgqeg4jaldy@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23f.google.com (mail-lj1-x23f.google.com [IPv6:2a00:1450:4864:20::23f]) (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 4Vzp9t0Mskz20fL for <incoming@patchwork.ozlabs.org>; Thu, 13 Jun 2024 00:40:33 +1000 (AEST) Received: by mail-lj1-x23f.google.com with SMTP id 38308e7fff4ca-2ebeef33f21sf23894491fa.2 for <incoming@patchwork.ozlabs.org>; Wed, 12 Jun 2024 07:40:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718203230; cv=pass; d=google.com; s=arc-20160816; b=XPE+qbkDkVJGijzg0ePlYDZnIjiUG19HkoVe2nIR4z2F1qftoxYLQ73ly9iCCXPN37 7tiuAARApJrJbSLzz+ycIJtgu1EosUHGCog7vZ6ukAm+u66La88hXcZUk78mjWZjjnpc BWFLoVbzSQC8JRTPTt3Gwbrf3pv5RIGvHCOGxrRzUztzJQB0Cgwkjay5zYjtaTZGqqVj XPiCHTcG1dw108SzW+qaqCLXj62JT7+M4qRikeUNel3u0KXABZgfvz/BOKRGU+5MbgPj 7YvuDouB/7uy5OWxbqyeDmmW6F+Bc2ojrwfrOQuD+5OqtOAn0afK88YXGCmk7+M6sWYn fd1A== 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=LF5yDpSrXS6L0Im8xXv/uJOSiIb6GJdnH2Yd2QJk0Zs=; fh=jd5MOdFk7OXekAFwwq+YybdX1rGCT7tjnSaIxBBVD/I=; b=ZwUp6Rmnby+SY6rWwtZ0BPu83DUIgW1Cc03GdIE5BPNRqs0eHowtKq96HkCZ5Ja7Un E0LnhD1auy8zVfPZ1mVQ/MEHyEyOtmWN87ET8+fhC2qCHx2egos3p7W8KWo5nHyDzJVH Z8hURK5cpCAlBFoDOXnntHarGEjVwOCJNH4q1Llfrvx3qvtgB7b8BiSX3IuOyCHUFQW6 pBTGzCLtUAnpexf1R1Y6F5y1i2Ajlpp139+hCT/pV9Tv6voVquhMrzhIuz8W/LyOp8Rr xOVnEicOqogDKe2AAytA+FW5t42lfDQFJZGbz+IkvxFsayFhMK/ZM0SFT1e9GzM7Y514 IvXg==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hFFl3Mgn; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::129 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=1718203230; x=1718808030; 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=LF5yDpSrXS6L0Im8xXv/uJOSiIb6GJdnH2Yd2QJk0Zs=; b=pC09dHvJalLDgWmouGMLk6AAGhs82W2fvRsHJSeBFlf/Cxm3YUXXp43MFOusY+Cjjz 3Upxet7nVBMfWiMI55lG9579J6gxjZ3CA0OKa440zWAgfntQTxrtt+uf3SaULXXneofv jXJAWjmFQmTSd5TptP7bQ7y0OwxoLajIAP5i9VPVLaA7v2QGWzOPRXK7zjfL7aaMF/88 JAFGsXsS2IPZJjMQia+cpHxf9sELfFZPG1BozOHhByRayIYzVGHJMk5B5NKz6AAd75rn 32uyKhGJrGo1STvmxdPCpoisdDYovk1cLD89S8lMDHVAwGro7Evhy1qAJXtGgwqbYlGC dTqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718203230; x=1718808030; 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=LF5yDpSrXS6L0Im8xXv/uJOSiIb6GJdnH2Yd2QJk0Zs=; b=in9iF3fzMAo4tLB8nB28JBU7ov6sfPFRRqot1dWLYlInT1FsmU430Z7Tb21IRgCxHH QVcCFFuZGuhji3HrL1CHdi3AVRQKuZx1KQoHYWn4wOOAQ+TVHph6+nO0z/jFmzhqXDVj MGAulQHWe27Tw0//jsOCgIHhPTC4KcDMf0EvAOEPslHIfZojqqU6yTYyuS+7dEE4bOWt lGHcWV+9rGEoU4EuOTJSeyWwsFg50HqtCJ39VRdNR5wtNFwO4+sI+6Lw5EfeTR6+uM93 aoclGaMf2QfZWJ2tezMtfmBiXPVezBSsDvKqGoVyT02Fd8FGKeWee9Dnl+JRx1QAKQ/E 9PnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718203230; x=1718808030; 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=LF5yDpSrXS6L0Im8xXv/uJOSiIb6GJdnH2Yd2QJk0Zs=; b=WKlgf4qGtaRsPCnsKLM2kC/HS1TGZYuOsLKGxTENoL3a1rcutiEn6uDJuYKIFlyoca FnM3vhb4DR3R60xIBYZoxX+E8hvPFtBTK5VY/Z51kXzjuSTKJLb45udZJmIpNHqrBLrJ HkL2WROfl8xmwxqYg+/a3J9Zn/8ShErZNU8aDfla87sX3MzKJjCfiiEA9CnOfm3jioY3 CcCIVrPEghFT6BBiM73UMm6rZDzVVwF0mWMHdnXYQqKIlmfQXfZ1LRdnAO1lN0U+MBMU mMTbeHrctEWv93ZeLGOgI4R20Gxf25xxOQU0Yic4DDm0xJh30u756/ImxIxCcGn7oXYh NyuA== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVnF0+J5BVODDXbwbBLq0DRKTpIg8jHYdgIUucqAgBjy3k4McXk9SEnpfguCVgyRabprk0LUpCu90GmECCATg0z9MCkbHd7K4WskiTadA== X-Gm-Message-State: AOJu0Yxk3HRUyOiaNrht0v8qyU8z5ws2MsBaOIFilfl8pwCC9eO6AE0c PkdMqezxfWIYh774Kjis3FsZZebZhQHFtWvPhXpdzjrjLG4HoR2L X-Google-Smtp-Source: AGHT+IEXoo3OePT0HCQCaPbuBnyn1OegJJcaDz9Sg9YfFIuJrJTd4U68+gnn8CD7ATcI5dB0VTam9Q== X-Received: by 2002:a2e:be05:0:b0:2eb:fca8:7f37 with SMTP id 38308e7fff4ca-2ebfca881f4mr19747821fa.28.1718203230066; Wed, 12 Jun 2024 07:40:30 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:220f:b0:421:7ab7:ebf9 with SMTP id 5b1f17b1804b1-4217ab7ed5cls25437225e9.2.-pod-prod-05-eu; Wed, 12 Jun 2024 07:40:27 -0700 (PDT) X-Received: by 2002:a05:600c:4fd5:b0:421:f04d:ebcc with SMTP id 5b1f17b1804b1-422864aebcamr22109405e9.24.1718203226554; Wed, 12 Jun 2024 07:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718203226; cv=none; d=google.com; s=arc-20160816; b=avIIV3j8masFM0H2pO6FtmCvrPHMkaKa7PH+gMeGnDp/RhW7wOwc56OCwnVIqd6vKE h96BqNPNiQ8XxRKwcT9nIRXvGf4gbc06tsN6rNRlnsML3cxusfVj6YpdfBIGYNg5pUL4 iwRB4N/17dEw8hyU2+yrZaiCJyEkBcM0A6G2+gODWTsXsllnhpYmGuMc2wp5FDCEhOjA kw0Xwcaso6f1B2x+EsMcnu9YaHkjs6angoh2elnvgN4BM3OZrIc+9uOkWVnL8iUopmzV 0cI+Sjskw9rZ8j83P9K8egmRfDGL2fjaONu/Cyj4PvMBTObe0+XNRwNb9VpUhvTtbGdn T1Sg== 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=OBmhEUI6JEaTgGunVvrtZ9QfnpbCJqForV+vjQ1Gi+k=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=mAS9Gl4NdLWQhHfjIrimCXb42tae4+Q+Z72Cy9iui+DSdei2bxJu3d+uFReU75Lkny h5iUHLA9Icio1PXWXgOZaAxcmuLQp1W/IY+O7+LgHyHcNZr7/GptYXmhDiq5Rpa5O3il 4Tj6736tbDkZFmV8Wn4WccvlCFXzBaeSRWZhPlvzh7IuUjTepdNxKQU+1VrI3HF58+r4 yq7AlrQhKYuDHDGc41eklagOqPgPgV15gIhR63elftd7QtmqnLiQrsSegpkTHh4PAuxB bgNTISIAKVH5BmWdMScWGUqeYaCsQsTNPBSC85eIdslozG4RsCO84Za8jA8GJQWz7a6+ lqbg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hFFl3Mgn; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com. [2a00:1450:4864:20::129]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-42286fe58ffsi415195e9.1.2024.06.12.07.40.26 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 07:40:26 -0700 (PDT) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) client-ip=2a00:1450:4864:20::129; Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-52c9034860dso3818512e87.2 for <swupdate@googlegroups.com>; Wed, 12 Jun 2024 07:40:26 -0700 (PDT) X-Received: by 2002:a05:6512:a92:b0:521:cc8a:46dd with SMTP id 2adb3069b0e04-52c9a3bfb13mr1868368e87.11.1718203225701; Wed, 12 Jun 2024 07:40:25 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:40:25 -0700 (PDT) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [PATCH 07/23] mongoose: Remove deprecated events MG_EV_HTTP_MULTIPART_REQUEST Date: Wed, 12 Jun 2024 16:36:05 +0200 Message-ID: <20240612144010.470339-8-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=hFFl3Mgn; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::129 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_multipart.c b/mongoose/mongoose_multipart.c index 5e57d326..fb62c1e4 100644 --- a/mongoose/mongoose_multipart.c +++ b/mongoose/mongoose_multipart.c @@ -112,9 +112,6 @@ static void mg_http_multipart_begin(struct mg_connection *c, mp_stream->part.name.len = mp_stream->part.filename.len = 0; mp_stream->len = hm->body.len; c->pfn_data = mp_stream; - - mg_call(c, MG_EV_HTTP_MULTIPART_REQUEST, hm); - mg_iobuf_del(io, 0, hm->head.len + 2); } } @@ -149,7 +146,6 @@ static void mg_http_multipart_finalize(struct mg_connection *c) { mp_stream->part.filename.ptr = NULL; free((void *) mp_stream->part.name.ptr); mp_stream->part.name.ptr = NULL; - mg_http_multipart_call_handler(c, MG_EV_HTTP_MULTIPART_REQUEST_END, NULL, 0); mg_http_free_proto_data_mp_stream(mp_stream); mp_stream->state = MPS_FINISHED; free(mp_stream); diff --git a/mongoose/mongoose_multipart.h b/mongoose/mongoose_multipart.h index 552ede2d..1d2b7dcf 100644 --- a/mongoose/mongoose_multipart.h +++ b/mongoose/mongoose_multipart.h @@ -22,11 +22,9 @@ #include "mongoose.h" enum { - MG_EV_HTTP_MULTIPART_REQUEST=MG_EV_USER + 1, // struct mg_http_message * - MG_EV_HTTP_PART_BEGIN, // struct mg_http_multipart_part * + MG_EV_HTTP_PART_BEGIN=MG_EV_USER + 1, // struct mg_http_multipart_part * MG_EV_HTTP_PART_DATA, // struct mg_http_multipart_part * - MG_EV_HTTP_PART_END, // struct mg_http_multipart_part * - MG_EV_HTTP_MULTIPART_REQUEST_END // struct mg_http_multipart_part * + MG_EV_HTTP_PART_END // struct mg_http_multipart_part * }; /* HTTP multipart part */
Events MG_EV_HTTP_MULTIPART_REQUEST and MG_EV_HTTP_MULTIPART_REQUEST_END have been removed in 7.0. The mg_call()'s have no effect. Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> --- mongoose/mongoose_multipart.c | 4 ---- mongoose/mongoose_multipart.h | 6 ++---- 2 files changed, 2 insertions(+), 8 deletions(-)