Commit 13c4908
feat: add Configuration.checkReachability() and expand Encrypt values
- Add checkReachability(timeout:eventLoopGroup:) on Configuration so the
FreeTDS-style pre-connect check works on the config object directly:
try await config.checkReachability()
let conn = try await MSSQLConnection.connect(configuration: config)
(delegates to the existing static MSSQLConnection.checkReachability)
- Expand Encrypt connection string parsing to cover all FreeTDS values:
strict/require → .require | request/optional → .prefer | off → .disable
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c0d9dde commit 13c4908
1 file changed
Lines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
174 | 190 | | |
175 | 191 | | |
176 | 192 | | |
| |||
0 commit comments