public inbox for gwml@vger.gnuweeb.org
 help / color / mirror / Atom feed
From: Ammar Faizi <ammarfaizi2@gnuweeb.org>
To: Ahmad Gani <reyuki@gnuweeb.org>
Cc: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org>,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>
Subject: Re: [PATCH gwproxy v11 4/6] gwproxy: Refactor code base to add experimental raw DNS backend
Date: Sun, 14 Sep 2025 19:14:17 +0700	[thread overview]
Message-ID: <20250914121417.GB31788-ammarfaizi2@gnuweeb.org> (raw)
In-Reply-To: <20250914050943.184934-5-reyuki@gnuweeb.org>

On Sun, Sep 14, 2025 at 12:09:38PM +0700, Ahmad Gani wrote:
> Use fallback mechanism for raw DNS
> If *_PREFER_* is used in the restyp, the raw DNS backend will attempt to
> retry DNS query with different address family if it failed.
> 
> Add new cmdline arguments:
> - raw-dns: enables the experimental raw DNS feature
> - dns-server: sets the default DNS server
> - session-map-cap: sets the default capacity for the session_map and stack.arr arrays
> 
> The struct gwp_dns_ctx is now exported due to the need for accessing it
> outside dns.c.

Let me tell you this again. Please ponder it seriously!

Take a break. Use your brain to actually comprehend the meaning.

Each patch should only do one substantial thing. And if **you refactor**
something, **do it independently** with your feature addition. Don't mix
them into a single patch.

"Feature addition" **is not** a part of code refactoring. If you
refactor something, there must not be a functional change.

"Code refactoring" MUST NOT add a new feature.

-- 
Ammar Faizi


  reply	other threads:[~2025-09-14 12:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-14  5:09 [PATCH gwproxy v11 0/6] Initial work on integration of DNS parser lib in gwproxy Ahmad Gani
2025-09-14  5:09 ` [PATCH gwproxy v11 1/6] dns: Use __sys_close instead of close Ahmad Gani
2025-09-14  5:09 ` [PATCH gwproxy v11 2/6] gwproxy: Define __maybe_unused macro Ahmad Gani
2025-09-14  5:09 ` [PATCH gwproxy v11 3/6] dnsparser: Add dns parser code Ahmad Gani
2025-09-14  5:09 ` [PATCH gwproxy v11 4/6] gwproxy: Refactor code base to add experimental raw DNS backend Ahmad Gani
2025-09-14 12:14   ` Ammar Faizi [this message]
2025-09-14 13:54     ` Alviro Iskandar Setiawan
2025-09-14 17:46     ` Ahmad Gani
2025-09-14  5:09 ` [PATCH gwproxy v11 5/6] gwproxy: Update Makefile and configure scripts Ahmad Gani
2025-09-14 12:55   ` Ammar Faizi
2025-09-14 17:45     ` Ahmad Gani
2025-09-14  5:09 ` [PATCH gwproxy v11 6/6] gwproxy: Reduce #ifdef CONFIG_RAW_DNS Ahmad Gani
2025-09-14 12:16   ` Ammar Faizi
2025-09-14 14:26     ` Alviro Iskandar Setiawan
2025-09-14 17:45       ` Ahmad Gani
2025-09-14 17:59         ` Alviro Iskandar Setiawan
2025-09-14 18:13           ` Ahmad Gani
2025-09-15  2:21           ` Alviro Iskandar Setiawan
2025-09-14 17:44     ` Ahmad Gani
2025-09-14 19:02       ` Ammar Faizi
2025-09-15  2:50       ` Alviro Iskandar Setiawan
2025-09-14 12:51 ` (subset) [PATCH gwproxy v11 0/6] Initial work on integration of DNS parser lib in gwproxy Ammar Faizi
2025-09-14 17:22 ` Alviro Iskandar Setiawan
2025-09-14 18:07   ` Ahmad Gani

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=20250914121417.GB31788-ammarfaizi2@gnuweeb.org \
    --to=ammarfaizi2@gnuweeb.org \
    --cc=alviro.iskandar@gnuweeb.org \
    --cc=gwml@vger.gnuweeb.org \
    --cc=reyuki@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