Commit 06de216
committed
Acquire RT without impersonated user if possible
This is an optimization saving a few bytes over the wire.
When there is an explicit database configured for a session, there is no need
to send the impersonated user along with the `ROUTE` request. The only
difference this would make is that insufficient permissions would be noticed
when fetching the RT instead of when performing any actual action on the
session. Since routing is part of the global driver/pool operations and not
coupled to sessions, doing it this way seems like the logical conclusion.1 parent 793f360 commit 06de216
File tree
4 files changed
+11
-15
lines changed- neo4j
- io
- work
- tests/unit
- io
4 files changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
| 714 | + | |
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
721 | 720 | | |
722 | 721 | | |
723 | 722 | | |
| |||
1152 | 1151 | | |
1153 | 1152 | | |
1154 | 1153 | | |
1155 | | - | |
| 1154 | + | |
1156 | 1155 | | |
1157 | 1156 | | |
1158 | 1157 | | |
| |||
1178 | 1177 | | |
1179 | 1178 | | |
1180 | 1179 | | |
1181 | | - | |
| 1180 | + | |
1182 | 1181 | | |
1183 | 1182 | | |
1184 | 1183 | | |
1185 | | - | |
| 1184 | + | |
| 1185 | + | |
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | | - | |
| 1193 | + | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
1204 | 1203 | | |
1205 | 1204 | | |
1206 | 1205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | 147 | | |
149 | 148 | | |
150 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
| |||
0 commit comments