Skip to content

Added shutdown handler for Classic Server#8165

Merged
AlexPeshkoff merged 2 commits intoFirebirdSQL:masterfrom
Zhdanov0:master
Jul 8, 2024
Merged

Added shutdown handler for Classic Server#8165
AlexPeshkoff merged 2 commits intoFirebirdSQL:masterfrom
Zhdanov0:master

Conversation

@Zhdanov0
Copy link
Copy Markdown
Contributor

Added shutdown handler for server to avoid active connections after termination.
If you start the server with classic mode, then at the end of the server, there are still active connections.

@AlexPeshkoff AlexPeshkoff self-assigned this Jun 24, 2024
// activate paths set with -e family of switches
ISC_set_prefix(0, 0);

// set shutdown signals handler for listener
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to add this handlers in super & superclassic modes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's only relevant to classic

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add a condition

@dyemanov
Copy link
Copy Markdown
Member

dyemanov commented Jul 8, 2024

Alex, any other suggestions or is it OK for merging?

@AlexPeshkoff AlexPeshkoff merged commit 6e7596f into FirebirdSQL:master Jul 8, 2024
@AlexPeshkoff
Copy link
Copy Markdown
Member

I suggest to backport it to 5 & 4.

@dyemanov
Copy link
Copy Markdown
Member

Backported.

@dyemanov dyemanov changed the title Added shutdown handler for server Added shutdown handler for Classic Server Jul 31, 2024
dyemanov pushed a commit that referenced this pull request Nov 16, 2024
@mrotteveel mrotteveel added the rlsnotes60: no Intentionally not added to the Firebird 6.0 release notes. label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants