[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | WSL kernel issue & workaround (#370)

From: jhd
Subject: Re: [Wget-dev] wget2 | WSL kernel issue & workaround (#370)
Date: Wed, 26 Dec 2018 07:36:33 +0000

Inspired by 
 I began looking for a way to reliably detect WSL to change its default setting 
for tcp-fastopen, if not outright disable it. 

For Python at least, I came cross this:

And as for C, I came across this: 
I can't promise that we'll never change the content of these ProcFs files, but 
I think it's unlikely we'll change it to something that doesn't contain 
"Microsoft" or "WSL".


Also interesting to point out that `uname -r | sed -n 's/.*\( *Microsoft 
*\).*/\1/p'` will always output 'Microsoft'.

Reply to this email directly or view it on GitLab: 
You're receiving this email because of your account on gitlab.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]