Releases: spc476/SPCDNS
Bug fix---use calculated max number of segments
Per Tony Finch [1], the maximum number of segments are:
I had a quick look and I noticed that it sets the maximum number of labels to 100. The actual maximum is 128, because the maximum length of a DNS name is 255, and the minimum length of a label is 2 (except for the root which is 1), and (255 - 1)/2 + 1 == 128.
https://lobste.rs/s/tukocy/network_protocols_sans_i_o_2016#c_495uaz
Bug fix---Luarocks will be the death of me.
I just can never get a simple luarocks update to work for me. Never!
Bug fix---one of these days, I'll get a rockspec change right.
Bug fix---one of these days, I'll get a rockspec change right.
The "Support Private Records" Version
- Support the encoding of private RRs
- bug fix---allow RR_OPT in answer section (sigh)
Bug fix---fix compilation error on Mac OS-X
The Mac compiler doesn't define unix, so we need to check APPLE as well.
Add support for bare metal embedded platforms (#15)
Conditional compilation to support some enbedded systems.
Bug fix---surpress spurious warnings from clang and MSVC
Surpress some warnings that I do not agree with.
Bug fix---better support for Windows
User oviano on Github reported issues with compiling the code under Windows using a compiler other than MinGW. After some back and forth, it seems that MinGW uses <wspiapi.h>, but others (or just the compiler oviano was using) needs <ws2tcpip.h>. This is the minimum change required to meet both oviano's and alperakcan's use cases.
alperakan
https://github.com/spc476/SPCDNS/pull/7
oviano
https://github.com/spc476/SPCDNS/pull/12
Bug fix---remove VLAs from codebase.
The Windows C compiler doesn't support variable length arrays. It's now considered optional in C11, so might as well avoid them.
Bug fix---it's always the rockspecs that get me
Sign. Why can I not ever get this right?