Skip to content

Comments

HTTP connections are not released to the pool when exception#1449

Closed
vitalus wants to merge 1 commit intoGeoWebCache:mainfrom
vitalus:main
Closed

HTTP connections are not released to the pool when exception#1449
vitalus wants to merge 1 commit intoGeoWebCache:mainfrom
vitalus:main

Conversation

@vitalus
Copy link

@vitalus vitalus commented Nov 10, 2025

  • in case of exceptions thrown an HTTP connection was not returned to the pool

@aaime
Copy link
Member

aaime commented Nov 24, 2025

I'd recommend a different approach, since the method is closable, just use try-with-resources instead:
#1455

@aaime aaime closed this Jan 12, 2026
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.

2 participants