[Ser2net-devel] gensio-2.7.8, ser2net-4.6.0-rc1, and gensio-2.8.0-rc2 released. Plus Rust!
Brought to you by:
cminyard
|
From: Corey M. <mi...@ac...> - 2023-11-16 03:48:45
|
gensio-2.7.8 fixes a 2 bugs:
* A bug in telnet that can let data leak through when read is disabled
at startup if more data comes in during the initial negotiation.
* hangup-when-done on serial ports basically didn't work. Fixes are done
for Unix and Windows.
ser2net-4.6.0-rc1 is a test release for a rework of the YAML parsing to
allow a fully YAML compliant ser2net file. The anchors and refs ("\&"
and "*") were not exactly legal as used, and you can only have one node
of a specific name in a YAML file. The new format is different, but not
hugely different, and can be fully parsed by normal YAML parsers. I
expect both formats will be supported in the future. It's auto-detected
and documented.
This release also fixes a few bugs:
* If a connection doesn't start up properly (it's being retried) it
prevented ser2net from handling termination properly and it will hang
on shutdown.
* A closed port would still be selected by a rotator.
* led data could be freed while still in use. Add refcounting to avoid this.
gensio-2.8.0-rc2 is also somewhat experimental release. It has two major
changes:
* sergensio is deprecated. It was always a pain, both to use and to
implement. Instead, an asynchronous control option is added
(gensio_acontrol) that does the same thing as the serial operations in
a more generic way. sergensio is still there, but I expect it will go
away in the next major release.
* Changes to support a rust binding. Actually, the sergensio change
is mostly due to Rust, it was just one more pain that I didn't want to
deal with. Lots of other little changes, too, like cleaner interfaces
to the os_func allocation and use and some minor additions.
Lots of other little bug fixes and such, including the ones from 2.7.8.
The rust binding are at https://github.com/cminyard/rust-gensio if you
are interested. I'd be happy to get comments on that, and anything else,
really.
-corey
|