Maintain state for the advertised window length, and only ever increase it (instead of calculating it afresh on each transmit). This avoids triggering "treason uncloaked" messages on Linux peers. Respond to zero-length TCP keepalives (i.e. empty data packets transmitted outside the window). Even if the peer wouldn't otherwise expect an ACK (because its packet consumed no sequence space), force an ACK if it was outside the window. We don't yet generate TCP keepalives. It could be done, but it's unclear what benefit this would have. (Linux, for example, doesn't start sending keepalives until the connection has been idle for two hours.)tags/v0.9.4
|
|
||
65 |
|
65 |
|
66 |
|
66 |
|
67 |
|
67 |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
68 |
|
73 |
|
69 |
|
74 |
|
70 |
|
75 |
|
|
|
||
394 |
|
399 |
|
395 |
|
400 |
|
396 |
|
401 |
|
397 |
|
|
|
|
402 |
|
|
398 |
|
403 |
|
399 |
|
404 |
|
400 |
|
405 |
|
|
|
||
439 |
|
444 |
|
440 |
|
445 |
|
441 |
|
446 |
|
442 |
|
|
|
443 |
|
|
|
444 |
|
|
|
445 |
|
|
|
|
447 |
|
|
|
448 |
|
|
|
449 |
|
|
|
450 |
|
|
446 |
|
451 |
|
447 |
|
|
|
448 |
|
|
|
449 |
|
|
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
|
455 |
|
|
|
456 |
|
|
450 |
|
457 |
|
451 |
|
458 |
|
452 |
|
459 |
|
|
|
||
472 |
|
479 |
|
473 |
|
480 |
|
474 |
|
481 |
|
475 |
|
|
|
|
482 |
|
|
476 |
|
483 |
|
477 |
|
484 |
|
478 |
|
485 |
|
|
|
||
632 |
|
639 |
|
633 |
|
640 |
|
634 |
|
641 |
|
|
642 |
|
|
|
643 |
|
|
|
644 |
|
|
|
645 |
|
|
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
649 |
|
|
|
650 |
|
|
|
651 |
|
|
|
652 |
|
|
|
653 |
|
|
|
654 |
|
|
|
655 |
|
|
|
656 |
|
|
635 |
|
657 |
|
636 |
|
658 |
|
637 |
|
659 |
|
|
|
||
659 |
|
681 |
|
660 |
|
682 |
|
661 |
|
683 |
|
662 |
|
|
|
|
684 |
|
|
663 |
|
685 |
|
664 |
|
686 |
|
665 |
|
687 |
|
|
|
||
747 |
|
769 |
|
748 |
|
770 |
|
749 |
|
771 |
|
750 |
|
|
|
|
772 |
|
|
|
773 |
|
|
751 |
|
774 |
|
752 |
|
775 |
|
753 |
|
776 |
|
|
|
||
766 |
|
789 |
|
767 |
|
790 |
|
768 |
|
791 |
|
769 |
|
|
|
|
792 |
|
|
770 |
|
793 |
|
771 |
|
794 |
|
772 |
|
795 |
|
|
|
||
789 |
|
812 |
|
790 |
|
813 |
|
791 |
|
814 |
|
792 |
|
|
|
|
815 |
|
|
793 |
|
816 |
|
794 |
|
817 |
|
795 |
|
818 |
|
|
|
||
850 |
|
873 |
|
851 |
|
874 |
|
852 |
|
875 |
|
853 |
|
|
|
|
876 |
|
|
|
877 |
|
|
854 |
|
878 |
|
855 |
|
879 |
|
856 |
|
880 |
|
|
|
||
922 |
|
946 |
|
923 |
|
947 |
|
924 |
|
948 |
|
925 |
|
|
|
926 |
|
|
|
|
949 |
|
|
|
950 |
|
|
|
951 |
|
|
|
952 |
|
|
|
953 |
|
|
|
954 |
|
|
|
955 |
|
|
|
956 |
|
|
|
957 |
|
|
|
958 |
|
|
927 |
|
959 |
|
928 |
|
|
|
|
960 |
|
|
|
961 |
|
|
929 |
|
962 |
|
930 |
|
963 |
|
931 |
|
964 |
|