Commit 6933e09
Fix netconf framing protocol (#946)
* Updated NETCONF framing protocol detection to check both client & server capabilities
This fixes an issue where the NetConfSession would expect the
framing protocol to be used if ServerCapabilities contained 1.1,
however the server would actually be using the legacy protocol as
the client only advertises support for 1.0.
* fix NETCONF to comply with RFC6242 for framing protocol
* netcconf client - fix null ptr exception on dispose
* netcconf client - provide example usage in xml doc
* add comment
---------
Co-authored-by: Jason Larke <[email protected]>
Co-authored-by: Todd Schavey <[email protected]>
Co-authored-by: Robert Hague <[email protected]>
Co-authored-by: Rob Hague <[email protected]>1 parent 0effbd7 commit 6933e09
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
211 | 218 | | |
212 | 219 | | |
213 | 220 | | |
| |||
226 | 233 | | |
227 | 234 | | |
228 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
229 | 242 | | |
230 | 243 | | |
231 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
0 commit comments