[PATCH] Maintain outgoing TCP meta buffer

Scott Lamb slamb at slamb.org
Sun Jan 15 09:30:28 CET 2006


A couple problems with my tinc-buffer-2.patch:

- it wasn't using PingTimeout at all, just PongTimeout. (oops!)
- it sometimes thought it had been unable to flush for a long time,  
when it really just hadn't sent anything for a long time except for  
an unflushed thing sent quite recently.

Here's a new version with those problems fixed. And with more clear  
names - PingInterval and PingTimeout instead of PingTimeout and  
PongTimeout.

By the way, what's status.timeout for? It doesn't seem to be used.

Regards,
Scott

--
Scott Lamb <http://www.slamb.org/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tinc-buffer-3.patch
Type: application/octet-stream
Size: 15505 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc-devel/attachments/20060115/77283361/tinc-buffer-3.obj


More information about the tinc-devel mailing list