Skip to content

Conversation

tomas-sexenian
Copy link
Contributor

Issue:102742
Autoclose open sockets when no longer used

Issue:102742
Autoclose open sockets when no longer used
@tomas-sexenian tomas-sexenian requested a review from sgrampone July 3, 2023 12:39
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit 39ae7b1
  • java/src/main/java/com/genexus/internet/HttpClientJavaLib.java

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@tomas-sexenian tomas-sexenian merged commit ad87d42 into master Jul 12, 2023
@tomas-sexenian tomas-sexenian deleted the ReleaseSockets branch July 12, 2023 16:56
else
{
if (LocalAddr == null)
sock = new Socket(addr_list[idx], actual_port);

Check failure

Code scanning / Fortify on Demand

Unreleased Resource: Sockets

The function getSocket() in HTTPConnection.java sometimes fails to release a socket allocated by Socket() on line 3464.The program can potentially fail to release a socket.
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.

4 participants