forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5632d6e
committed
Don't send "cannot connect" errors on invalid startup packet
Commit16671ba moved the code that sends "sorry, too many clientsalready" and other such messages, but it had the effect that we wouldsend that error even if the the startup packet processing failed, e.g.because the client sent an invalid startup packet. That was notintentional.Spotted while reading the code again.1 parent4710b67 commit5632d6e
1 file changed
+34
-31
lines changedLines changed: 34 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4354 | 4354 |
| |
4355 | 4355 |
| |
4356 | 4356 |
| |
4357 |
| - | |
| 4357 | + | |
4358 | 4358 |
| |
4359 |
| - | |
4360 |
| - | |
4361 |
| - | |
4362 |
| - | |
4363 |
| - | |
4364 |
| - | |
4365 |
| - | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
4366 | 4362 |
| |
4367 | 4363 |
| |
4368 |
| - | |
4369 |
| - | |
4370 |
| - | |
| 4364 | + | |
| 4365 | + | |
| 4366 | + | |
| 4367 | + | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
4371 | 4379 |
| |
4372 | 4380 |
| |
4373 |
| - | |
4374 |
| - | |
4375 |
| - | |
4376 |
| - | |
4377 |
| - | |
4378 |
| - | |
4379 |
| - | |
4380 |
| - | |
4381 |
| - | |
4382 |
| - | |
4383 |
| - | |
4384 |
| - | |
4385 |
| - | |
4386 |
| - | |
4387 |
| - | |
4388 |
| - | |
4389 |
| - | |
4390 |
| - | |
4391 |
| - | |
4392 |
| - | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
| 4393 | + | |
| 4394 | + | |
| 4395 | + | |
4393 | 4396 |
| |
4394 | 4397 |
| |
4395 | 4398 |
| |
|
0 commit comments
Comments
(0)