Commit d6d4d10
Dsn support set callback uri (#2104)
* fix(agent): support full DSN parsing in set_callback_uri
Updates `ImixAgent::set_callback_uri` to utilize `pb::config::parse_dsn` when configuring new or existing transports.
This allows the agent to dynamically process and update properties like `interval` and `jitter` provided as URL query parameters in the DSN when `set_callback_uri` is invoked.
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
* fix(agent): support full DSN parsing in set_callback_uri
Updates `ImixAgent::set_callback_uri` to utilize `pb::config::parse_dsn` when configuring new or existing transports.
This allows the agent to dynamically process and update properties like `interval` and `jitter` provided as URL query parameters in the DSN when `set_callback_uri` is invoked. Also includes the PR reviewer's feedback about checking both uri and type when finding an existing callback.
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
* fix(agent): update callback uri equality checks for transport type
Adds a check in `ImixAgent::set_callback_uri` to ensure the transport `r#type` matches when searching for an existing callback to update.
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
* fix(agent): update callback uri equality checks for transport type
Adds a check in `ImixAgent::set_callback_uri` to ensure the transport `r#type` matches when searching for an existing callback to update.
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
* fmt
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent dc09b89 commit d6d4d10
File tree
3 files changed
+26
-31
lines changed- implants
- imix/src
- tests
- lib/pb/src
3 files changed
+26
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
657 | 661 | | |
658 | 662 | | |
659 | 663 | | |
660 | 664 | | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
667 | 669 | | |
668 | 670 | | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
669 | 675 | | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
691 | 679 | | |
692 | 680 | | |
693 | 681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
122 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments