Commit 53caf1b
committed
Update to build 20; fixed client->server messages
Fixed bug with reading messages when messagereader::getremaining() is called.
Fixed kicking clients when a client->server message with no data (beside subchannel/variant) was sent; server was mistakenly set to not accept empty messages, and due to it seeing a message corruption, it kicked the client immediately.
Fixed crash caused by lock being freed twice during some message parsing errors.
Also switched kicks for broken messages from clean exit to immediate exit. It may not be safe to wait for connection to finish processing, as client could be pouring messages into their end.1 parent f50a5fb commit 53caf1b
3 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
1850 | | - | |
| 1850 | + | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
1718 | | - | |
| 1718 | + | |
1719 | 1719 | | |
1720 | 1720 | | |
1721 | 1721 | | |
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | | - | |
1952 | | - | |
1953 | 1951 | | |
1954 | 1952 | | |
1955 | | - | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
1956 | 1957 | | |
1957 | 1958 | | |
1958 | | - | |
| 1959 | + | |
1959 | 1960 | | |
1960 | 1961 | | |
1961 | 1962 | | |
| |||
0 commit comments