Commit 0a20325
committed
Merge branch 'ew/daemon-socket-keepalive' into maint
When "git daemon" is run without --[init-]timeout specified, a
connection from a client that silently goes offline can hang around
for a long time, wasting resources. The socket-level KEEPALIVE has
been enabled to allow the OS to notice such failed connections.
* ew/daemon-socket-keepalive:
daemon: enable SO_KEEPALIVE for all sockets1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
672 | 681 | | |
673 | 682 | | |
674 | 683 | | |
| |||
681 | 690 | | |
682 | 691 | | |
683 | 692 | | |
| 693 | + | |
684 | 694 | | |
685 | 695 | | |
686 | 696 | | |
| |||
951 | 961 | | |
952 | 962 | | |
953 | 963 | | |
| 964 | + | |
| 965 | + | |
954 | 966 | | |
955 | 967 | | |
956 | 968 | | |
| |||
1010 | 1022 | | |
1011 | 1023 | | |
1012 | 1024 | | |
| 1025 | + | |
| 1026 | + | |
1013 | 1027 | | |
1014 | 1028 | | |
1015 | 1029 | | |
| |||
0 commit comments