Further NUT for Windows fixes: path discovery, CGI under IIS, etc.#3249
Merged
jimklimov merged 37 commits intonetworkupstools:masterfrom Jan 16, 2026
Merged
Further NUT for Windows fixes: path discovery, CGI under IIS, etc.#3249jimklimov merged 37 commits intonetworkupstools:masterfrom
jimklimov merged 37 commits intonetworkupstools:masterfrom
Conversation
This was referenced Jan 7, 2026
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 7, 2026
…de-spread; is available in WIN32 builds though, so constrain it to them [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 7, 2026
…de-spread; is available in WIN32 builds though, so constrain it to them [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
❌ Build nut 2.8.4.3929-master failed (commit d658d9d32b by @jimklimov) |
|
✅ Build nut 2.8.4.3930-master completed (commit d8a78a49be by @jimklimov) |
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 8, 2026
…tools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 8, 2026
…tools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
9c8466e to
28cc920
Compare
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 8, 2026
…de-spread; is available in WIN32 builds though, so constrain it to them [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 8, 2026
…tools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Member
Author
|
Now |
4b82441 to
89b512d
Compare
|
❌ Build nut 2.8.4.3933-master failed (commit 02ab2ceec9 by @jimklimov) |
|
✅ Build nut 2.8.4.3934-master completed (commit 02e66f93d7 by @jimklimov) |
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 8, 2026
…de-spread; is available in WIN32 builds though, so constrain it to them [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…y in the doc too Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…s know loading is completed and not stalled Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…UT favicon with CGI HTML pages Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…GI on all platforms [networkupstools#3207] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…3207] ...not sure if select() works as expected here, but NUT CGI under IIS keeps asking for login... Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…de-spread; is available in WIN32 builds though, so constrain it to them [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… POST data from STDIN from client code into common code [networkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…workupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…select() to work [networkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…oncept and does not apply to STDIN [networkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…tools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… CONTENT_LENGTH, and on IIS truncate it by a byte; in upsset add a sacrificial sentinel into each HTML FORM [networkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…tial final parsearg() of leftovers [networkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…etworkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…l data as JSON docs [networkupstools#3171] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…mode, so ftell()/fseek() work predictably [networkupstools#3219] Fix rewinding FOREACHUPS command to the correct byte location on WIN32 (or other platforms with CR vs CRLF issues). Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 10, 2026
…ample.in, NEWS.adoc, UPGRADING.adoc: introduced `@NUT_UPSSTATS_TEMPLATE@` magic token that HTML templates must start with [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ample.in, NEWS.adoc, UPGRADING.adoc: introduced `@NUT_UPSSTATS_TEMPLATE@` magic token that HTML templates must start with [networkupstools#3249, networkupstools#3252] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…uts [networkupstools#3219] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 10, 2026
…ing from callers [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Jan 10, 2026
…ing from callers [networkupstools#3249] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
e13b9be to
50ade3a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to issue #3207 and #3219 testing, experimented and iterated with a NUT for Windows deployment and specifically NUT CGI under MS IIS as the web server.
There currently remains a problem with
upsset.cgi(.exe)timing out, apparently eitherfgetc()never returns, or does not returnEOF, when receiving an HTTP POST payload.