Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features #118

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Features #118

merged 2 commits into from
Sep 27, 2024

Conversation

croessner
Copy link
Owner

No description provided.

Christian Roessner added 2 commits September 27, 2024 09:00
Replace usage of NewHTTPClient function with NewClosingHTTPClient to ensure proper handling of idle HTTP connections. This change helps to avoid potential resource leaks by encapsulating the closing logic within a dedicated function. All impacted files have been updated accordingly to use the new client and closure pattern.

Signed-off-by: Christian Roessner <c@roessner.co>
Removed redundant `defer close(channel)` statements in multiple functions across ldap.go and lua.go. Channels are no longer explicitly closed as they are garbage-collected when no longer in use. This cleanup improves code readability and ensures proper handling of channel lifecycles.

Signed-off-by: Christian Roessner <c@roessner.co>
@croessner croessner merged commit 1dcbd84 into main Sep 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant