Commit a12998a
iproto: fix assertion on dropping of a new connection
We need to handle case of dropping new connection. When
net_send_greeting() is executed the connection can be closed due to
iproto_drop_connections() call.
Note that in the test the Tarantool crashes for another reason. Due to
access after sleep to the connection that is destroyed so its memory is
poisoned. Yet we visit net_send_greeting() too in the test with patch so
original issue is verified too. We also need to test that such
a connection is closed. This will be done in EE version.
Closes tarantool#9717
NO_DOC=bugfix1 parent d592f26 commit a12998a
File tree
3 files changed
+48
-1
lines changed- changelogs/unreleased
- src/box
- test/box-luatest
3 files changed
+48
-1
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
| 921 | + | |
| 922 | + | |
921 | 923 | | |
922 | 924 | | |
923 | 925 | | |
| |||
1663 | 1665 | | |
1664 | 1666 | | |
1665 | 1667 | | |
| 1668 | + | |
1666 | 1669 | | |
1667 | 1670 | | |
1668 | 1671 | | |
| |||
3329 | 3332 | | |
3330 | 3333 | | |
3331 | 3334 | | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
3332 | 3340 | | |
3333 | 3341 | | |
3334 | 3342 | | |
| |||
3345 | 3353 | | |
3346 | 3354 | | |
3347 | 3355 | | |
| 3356 | + | |
3348 | 3357 | | |
3349 | 3358 | | |
3350 | 3359 | | |
| |||
3988 | 3997 | | |
3989 | 3998 | | |
3990 | 3999 | | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
3991 | 4006 | | |
3992 | 4007 | | |
3993 | | - | |
| 4008 | + | |
| 4009 | + | |
3994 | 4010 | | |
3995 | 4011 | | |
3996 | 4012 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
77 | 105 | | |
78 | 106 | | |
79 | 107 | | |
| |||
0 commit comments