[mosh-devel] [PATCH] Make errors from setsockopt( IP_MTU_DISCOVERY ) non-fatal.

John Hood cgull at glup.org
Tue Aug 30 19:29:01 EDT 2016


On 08/30/16 04:28 PM, Daniel Thompson wrote:
> Currently any failure to set this option cause a fatal exception to be
> thrown. This is odd because the code itself is conditionally compiled.
Thanks!  Windows Subsystem for Linux, right?  We know about that. 
Microsoft's Linux kernel emulation is missing that socket option.  My
position has been that Microsoft is responsible for a complete
emulation, and WSL is still in beta.  I may yet relax that position and
apply a more sophisticated version of this workaround; there've been a
number of people hitting this.  See
<https://github.com/mobile-shell/mosh/issues/781> for a little more
discussion and various links.  If this *isn't* WSL, then please tell us
where the problem *is* cropping up.

Also, we generally ask that contributors use GitHub to submit code; that
avoids patch hassles, runs submissions through CI and exposes it to
review better.  (In this case it doesn't matter much, I've got this
one-liner already sitting in my repo.)

Regards,

  --jh



More information about the mosh-devel mailing list