Commit f344a42
tcp_input: remove tcp_callback(ABORT) when accept conn recv TCP_RESET
when accept conn receives TCP_RESET, only accept conn itself should handle
the event, and there is no need to notify the listening conn. otherwise,
the server's poll will return with POLLERR and POLLHUP. this may cause
some applications to execute incorrect logic in the future.
Signed-off-by: zhanghongyu <[email protected]>1 parent a4fd1b3 commit f344a42
1 file changed
+2
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
905 | | - | |
906 | 904 | | |
907 | 905 | | |
908 | 906 | | |
| |||
912 | 910 | | |
913 | 911 | | |
914 | 912 | | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | 913 | | |
943 | 914 | | |
944 | 915 | | |
| |||
955 | 926 | | |
956 | 927 | | |
957 | 928 | | |
958 | | - | |
| 929 | + | |
959 | 930 | | |
960 | 931 | | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
| 932 | + | |
967 | 933 | | |
968 | 934 | | |
969 | 935 | | |
| |||
0 commit comments