mirror of
https://github.com/bgp/bgpq4
synced 2026-08-17 09:26:02 +00:00
works well
This commit is contained in:
@@ -66,6 +66,10 @@ sx_maxsockbuf(int s, int dir)
|
||||
} else if(phase==1) {
|
||||
phase=2; optval-=2048; continue;
|
||||
} else break;
|
||||
} else if(voptval>=SX_MAXSOCKBUF_MAX) {
|
||||
/* ... and getsockopt not failed and voptval>=optval. Do not allow
|
||||
* to increase sockbuf too much even in case OS permits it */
|
||||
break;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user