Commit a5dca20
committed
Try to avert #1 crash from model encryption system-memory abuse by (mostly pt-BR) servers, assuming it's only allocation peaks and that it can be retried later when allocation/mem pressure is lower.
The use of decodeString with huge data payloads (or spammed requests) leads to the crash, that usually presents as KERNELBASE.dll 0x0013b702 in MTA as of writing.
Servers should actually batch decode requests instead of abusing memory like this, but they turned to blame us instead.1 parent 93d5f91 commit a5dca20
File tree
1 file changed
+29
-15
lines changed1 file changed
+29
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
180 | 182 | | |
181 | | - | |
182 | | - | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | | - | |
185 | | - | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | | - | |
188 | | - | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
190 | 192 | | |
191 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
192 | 199 | | |
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
196 | 203 | | |
197 | 204 | | |
198 | 205 | | |
199 | | - | |
200 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
201 | 210 | | |
202 | | - | |
203 | | - | |
204 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
205 | 214 | | |
206 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
207 | 221 | | |
208 | 222 | | |
209 | 223 | | |
| |||
0 commit comments