public inbox for gwml@vger.gnuweeb.org
 help / color / mirror / Atom feed
From: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org>
To: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Cc: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org>,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>
Subject: [PATCH gwproxy v1 0/2] Auth-file hot reload and show help message for invalid parameters
Date: Thu, 31 Jul 2025 07:27:22 +0700	[thread overview]
Message-ID: <20250731002724.294967-1-alviro.iskandar@gnuweeb.org> (raw)

Hi Chief,

Two patches for gwproxy this morning. My first time sending patches
for gwproxy today. This patch series adds support for hot reloading
the auth-file in io_uring and also adds a help message for invalid
parameters in gwproxy.

When gwproxy is run with a zero argument (or argc=1), it doesn't show a
helpful message, just like this:

  Error: --target is required unless --as-socks5 is specified.

Show the help when the argument is invalid to let new users get better
experience.

Signed-off-by: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org>
---

Alviro Iskandar Setiawan (2):
  io_uring: Add auth-file hot reload support
  gwproxy: Show help on invalid parameter

 src/gwproxy/ev/io_uring.c | 28 ++++++++++++++++++++++++++++
 src/gwproxy/gwproxy.c     | 13 +++++++++----
 2 files changed, 37 insertions(+), 4 deletions(-)


base-commit: ab8b6ee9729481c0e73c3a84cf1684ff4d24803e
-- 
Alviro Iskandar Setiawan


             reply	other threads:[~2025-07-31  0:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-31  0:27 Alviro Iskandar Setiawan [this message]
2025-07-31  0:27 ` [PATCH gwproxy v1 1/2] io_uring: Add auth-file hot reload support Alviro Iskandar Setiawan
2025-07-31  0:27 ` [PATCH gwproxy v1 2/2] gwproxy: Show help on invalid parameter Alviro Iskandar Setiawan
2025-07-31  0:29 ` [PATCH gwproxy v1 0/2] Auth-file hot reload and show help message for invalid parameters Ammar Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250731002724.294967-1-alviro.iskandar@gnuweeb.org \
    --to=alviro.iskandar@gnuweeb.org \
    --cc=ammarfaizi2@gnuweeb.org \
    --cc=gwml@vger.gnuweeb.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox