Query Path MTU on every instruction because Linux is not so reliable about EMSGSIZE

This commit is contained in:
Keith Winstein
2011-12-22 01:02:24 -05:00
parent 7251279f55
commit 3a722cb3d3
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -71,8 +71,6 @@ namespace Network {
Base64Key key;
Session session;
void update_MTU( void );
void setup( void );
Direction direction;
@@ -94,6 +92,7 @@ namespace Network {
void send( string s );
string recv( void );
int fd( void ) { return sock; }
void update_MTU( void );
int get_MTU( void ) { return MTU; }
int port( void );