mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#533
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nsupdate-info/nsupdate.info/pull/525
Author: @ThomasWaldmann
Created: 4/18/2023
Status: ✅ Merged
Merged: 4/18/2023
Merged by: @ThomasWaldmann
Base:
master← Head:socket-herror📝 Commits (1)
722f76crewrite socket error handling, fixes #522📊 Changes
2 files changed (+21 additions, -19 deletions)
View changed files
📝
src/nsupdate/main/dnstools.py(+20 -18)📝
src/nsupdate/main/views.py(+1 -1)📄 Description
socket.error is deprecated and is the same as OSError since python 3.3. Of course OSError can mean a lot of stuff, so not sure how that goes...
socket.herror is for gethostbyaddr and has some documented h_error values in netdb.h (but, AFAIK, these symbols are not available via python).
added a handler for h_error 0 (#522), which crashed since a while. removed some unclear error values, let's see what happens.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.