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

TS-4497: fix fetch api to release async item sooner #685

Merged
merged 1 commit into from Jun 3, 2016

Conversation

shukitchan
Copy link
Contributor

@sudheerv this is what we have been discussing for a while. With TS-3777, the ts.fetch() of ts_lua is no longer working fine. I finally figure out that the original plugin code committed is not performing cleanup correctly.

Thanks. please take a look.

@sudheerv
Copy link
Contributor

sudheerv commented Jun 1, 2016

@shukitchan : is the "deleted" state protecting against multiple threads calling the cleanup? If so, it may still not be enough, without a mutex of some sort?

@shukitchan
Copy link
Contributor Author

The added call to ts_lua_fetch_multi_cleanup() is protected with a mutex.
However, i think this function is called in another place and i need to protect that as well.

@shukitchan
Copy link
Contributor Author

@sudheerv I made the change already. Please take a look.
will definitely squash into a single commit before merge. Thanks.

@sudheerv
Copy link
Contributor

sudheerv commented Jun 3, 2016

👍

@shukitchan shukitchan merged commit 74b9cef into apache:master Jun 3, 2016
@zwoop zwoop added this to the Old milestone Jan 8, 2019
JosiahWI pushed a commit to JosiahWI/trafficserver that referenced this pull request Jul 19, 2023
apache#685)

A proper fix will require a lot of restructuring of the SSLSecret code.
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.

None yet

3 participants