Skip to content

fix the missing lock in TSVConnFdCreate api#2643

Merged
scw00 merged 1 commit intoapache:masterfrom
scw00:fix_api
Oct 16, 2017
Merged

fix the missing lock in TSVConnFdCreate api#2643
scw00 merged 1 commit intoapache:masterfrom
scw00:fix_api

Conversation

@scw00
Copy link
Copy Markdown
Member

@scw00 scw00 commented Oct 10, 2017

No description provided.

@scw00 scw00 added the Plugins label Oct 10, 2017
@scw00 scw00 added this to the 8.0.0 milestone Oct 10, 2017
@scw00 scw00 self-assigned this Oct 10, 2017
@scw00 scw00 requested a review from oknet October 10, 2017 03:16
@scw00
Copy link
Copy Markdown
Member Author

scw00 commented Oct 10, 2017

Since we don't use this api, it is 8.0.0 only !

@scw00 scw00 added the TS API label Oct 10, 2017
@scw00 scw00 force-pushed the fix_api branch 3 times, most recently from 68d9e29 to 0eeb81b Compare October 10, 2017 03:43
@scw00
Copy link
Copy Markdown
Member Author

scw00 commented Oct 10, 2017

updated Document !

@scw00 scw00 force-pushed the fix_api branch 8 times, most recently from e347cd1 to b7e5fa2 Compare October 10, 2017 05:37
res = -errno;
goto fail;
}
goto fail;
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.

This should be clean up since the con.fd is not closed. The net_connections_currently_open_stat can be decreased by free(t).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Based on discussion, I need to open a new pr for this net_connections_currently_open_stat.

@scw00 scw00 force-pushed the fix_api branch 3 times, most recently from 66e3c8b to fae3db3 Compare October 10, 2017 07:52
@scw00 scw00 requested a review from jpeach October 10, 2017 07:59
Comment thread iocore/net/P_UnixNet.h
return true;
if (fd > hyper_emergency) {
return true;
}
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.

inform the caller to close the fd as we don't care the type of throttle.

@scw00
Copy link
Copy Markdown
Member Author

scw00 commented Oct 13, 2017

ping @jpeach !

@zwoop
Copy link
Copy Markdown
Contributor

zwoop commented Feb 13, 2018

Is this a candidate for 7.1.x ?

@zwoop
Copy link
Copy Markdown
Contributor

zwoop commented Feb 14, 2018

@scw00 Oops, forgot to ping you. Should we backport this to 7.1.x ?

@scw00
Copy link
Copy Markdown
Member Author

scw00 commented Feb 15, 2018

I think 8.0.0 may be better since we don't use this api.

@scw00 scw00 deleted the fix_api branch March 15, 2018 06:30
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.

3 participants