- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitea92f3a
committed
libpq: Trace frontend authentication challenges
If tracing was enabled during connection startup, these messages wouldpreviously be listed in the trace output as something like this:F54Unknown message: 70mismatched message length: consumed 4, expected 54With this commit their type and contents are now correctly listed:F36StartupMessage 3 0 "user" "foo" "database" "alvherre"F54SASLInitialResponse "SCRAM-SHA-256" 32 'n,,n=,r=nq5zEPR/VREHEpOAZzH8Rujm'F108SASLResponse 'c=biws,r=nq5zEPR/VREHEpOAZzH8RujmVtWZDQ8glcrvy9OMNw7ZqFUn,p=BBwAKe0WjSvigB6RsmmArAC+hwucLeuwJrR5C/HQD5M='Author: Jelte Fennema-Nio <postgres@jeltef.nl>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/CAGECzQSoPHtZ4xe0raJ6FYSEiPPS+YWXBhOGo+Y1YecLgknF3g@mail.gmail.com1 parent12d6c72 commitea92f3a
3 files changed
+90
-1
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
| 127 | + | |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
| |||
324 | 325 |
| |
325 | 326 |
| |
326 | 327 |
| |
| 328 | + | |
327 | 329 |
| |
328 | 330 |
| |
329 | 331 |
| |
| |||
597 | 599 |
| |
598 | 600 |
| |
599 | 601 |
| |
| 602 | + | |
600 | 603 |
| |
601 | 604 |
| |
| 605 | + | |
602 | 606 |
| |
603 | 607 |
| |
604 | 608 |
| |
| |||
683 | 687 |
| |
684 | 688 |
| |
685 | 689 |
| |
| 690 | + | |
686 | 691 |
| |
687 | 692 |
| |
688 | 693 |
| |
| |||
754 | 759 |
| |
755 | 760 |
| |
756 | 761 |
| |
| 762 | + | |
757 | 763 |
| |
758 | 764 |
| |
759 | 765 |
| |
|
Lines changed: 69 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
354 | 354 |
| |
355 | 355 |
| |
356 | 356 |
| |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
357 | 393 |
| |
358 | 394 |
| |
359 | 395 |
| |
| |||
610 | 646 |
| |
611 | 647 |
| |
612 | 648 |
| |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
613 | 682 |
| |
614 | 683 |
| |
615 | 684 |
| |
|
Lines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
334 | 346 |
| |
335 | 347 |
| |
336 | 348 |
| |
| |||
490 | 502 |
| |
491 | 503 |
| |
492 | 504 |
| |
493 |
| - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
494 | 508 |
| |
495 | 509 |
| |
496 | 510 |
| |
|
0 commit comments
Comments
(0)