Stuart Henderson <[email protected]> writes:
[...]
> p5-IO-Tty is ok with me for after unlock.
>
> I don't like DESCR for mosh; 'Mosh is a "replacement" for SSH' - no
> it isn't..
I don't like it either; I just copy/pasted it from the website, but
added quotes around "replacement".
> : /* Disable path MTU discovery */
> : #ifdef HAVE_IP_MTU_DISCOVER
> : char flag = IP_PMTUDISC_DONT;
> : socklen_t optlen = sizeof( flag );
> : if ( setsockopt( _fd, IPPROTO_IP, IP_MTU_DISCOVER, &flag, optlen ) < 0 ) {
> : throw NetworkException( "setsockopt", errno );
> : }
> : #endif
>
> : /* request explicit congestion notification on received datagrams */
> : #ifdef HAVE_IP_RECVTOS
> : char tosflag = true;
> : socklen_t tosoptlen = sizeof( tosflag );
> : if ( setsockopt( _fd, IPPROTO_IP, IP_RECVTOS, &tosflag, tosoptlen ) < 0 )
> {
> : perror( "setsockopt( IP_RECVTOS )" );
> : }
> : #endif
>
> I don't believe we support either receiving the tos bits for a
> received datagram, or forcing pmtu to be disabled per-socket.
Grmpf... ok.
Thanks for your feedback.
--
Jérémie Courrèges-Anglas
GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494