Skip to content

bugfix: removed cache for proxycommand in SFTPHook#52641

Merged
eladkal merged 2 commits intoapache:mainfrom
Nataneljpwd:feature/fix-sftp-hook-52289
Jul 2, 2025
Merged

bugfix: removed cache for proxycommand in SFTPHook#52641
eladkal merged 2 commits intoapache:mainfrom
Nataneljpwd:feature/fix-sftp-hook-52289

Conversation

@Nataneljpwd
Copy link
Copy Markdown
Contributor

@Nataneljpwd Nataneljpwd commented Jul 1, 2025


A possible fix to the related issue, removed the cache for the proxy command as it becomes invalid after the connection is closed (as the contextmanager autocloses the connection and the socket becomes closed)
for issue #52289

closes: #52289

@eladkal eladkal changed the title removed cache for proxycommand fixing issue 52289 bugfix: removed cache for proxycommand in SftpHook Jul 1, 2025
@eladkal eladkal changed the title bugfix: removed cache for proxycommand in SftpHook bugfix: removed cache for proxycommand in SFTPHook Jul 1, 2025
@eladkal eladkal merged commit 2d2d1cb into apache:main Jul 2, 2025
74 checks passed
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.

SFTP hook drops the connection to the proxy during operations

2 participants