From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com, SZAVAI Gyula <szgyg@ludens.elte.hu>
Subject: Re: Remove legacy networking code
Date: Sat, 24 Feb 2018 15:33:00 -0000 [thread overview]
Message-ID: <8bbc8bbf-356c-8f44-1e0f-7ff37c85086f@dronecode.org.uk> (raw)
In-Reply-To: <98f8b35a-90ae-d232-c16f-c2c7144deb6a@dronecode.org.uk>
On 28/01/2018 21:47, Jon Turney wrote:
> On 26/01/2018 16:56, SZAVAI Gyula wrote:
>> [PATCH setup 1/5] Remove direct(legacy) connection type
>> [PATCH setup 2/5] Rename IDC_NET_IE5 to IDC_NET_PRECONFIG
>> [PATCH setup 3/5] Remove NetIO_File
>> [PATCH setup 4/5] Add Proxy class
>> [PATCH setup 5/5] Remove NetIO_HTTP
>
> Thanks, this is great.
I applied this patch series to setup, with a few tweaks to address my
comments.
Sorry about the delay and thanks again!
>
> A few minor comments:
>
> 1/5:
>
> It would be nice if you'd said in the patch commentary what will happen
> to existing installations which are configured to use direct(legacy) -
> they get converted to preconfig.
>
> 3/5:
>
> This changes to wininet handling all file access (converting raw paths
> into file:// format URLs)
>
> I had some concerns [1] that this maybe changes the set of malformed
> file:// URLs we handle (which is ok, although it would be nice to know
> the details), and still doesn't handle correctly formed ones.
>
> [1] https://cygwin.com/ml/cygwin-apps/2017-05/msg00117.html
>
> 4/5:
>
> operator!= could probably use a comment along the lines of "it's only
> meaningful to compare host:port if IDC_NET_PROXY"
>
> It's unclear to me what Proxy::bypass() is doing. MSDN actually says
> "Do not use an empty string", for unclear reasons.
>
> We can also remove simpsock.{cc,h} and linking with winsock, after this
> series.
prev parent reply other threads:[~2018-02-24 15:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 19:15 [PATCH setup] Send User-Agent even when setup-specific proxy is used SZAVAI Gyula
2018-01-19 14:18 ` Jon Turney
2018-01-22 19:28 ` szgyg
2018-01-26 16:56 ` Remove legacy networking code SZAVAI Gyula
2018-01-26 16:56 ` [PATCH setup 2/5] Rename IDC_NET_IE5 to IDC_NET_PRECONFIG SZAVAI Gyula
2018-01-26 16:56 ` [PATCH setup 5/5] Remove NetIO_HTTP SZAVAI Gyula
2018-01-26 16:56 ` [PATCH setup 1/5] Remove direct(legacy) connection type SZAVAI Gyula
2018-01-26 16:56 ` [PATCH setup 4/5] Add Proxy class SZAVAI Gyula
2018-01-26 16:56 ` [PATCH setup 3/5] Remove NetIO_File SZAVAI Gyula
2018-01-28 21:47 ` Remove legacy networking code Jon Turney
2018-02-24 15:33 ` Jon Turney [this message]
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=8bbc8bbf-356c-8f44-1e0f-7ff37c85086f@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-apps@cygwin.com \
--cc=szgyg@ludens.elte.hu \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).