Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Makes the socket a non-blocking socket. #78

Merged
merged 2 commits into from
Nov 23, 2018

Conversation

jjnicola
Copy link
Member

Add scheduler empty method to be implemented by the wrapper.

This allows to wait not only for a new connection, but also to
perform other task. When the select timeouts, it calls the scheduler
method to run scheduled task, e.g. check for a new vts version.

Add scheduler empty method to be implemented by the wrapper.

This allows to wait not only for a new connection, but also to
perform other task. When the select timeouts, it calls the scheduler
method to run scheduled task, e.g. check for a new feed version.
@jjnicola jjnicola requested review from kroosec, janowagner and a team November 23, 2018 09:50
Copy link
Member

@janowagner janowagner left a comment

Choose a reason for hiding this comment

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

I tested this successfully in conjunction with ospd-openvas PR#33 and a subsequent feed update
which was automatically and timely detected and loaded.

@jjnicola jjnicola merged commit a1fb138 into greenbone:master Nov 23, 2018
@jjnicola jjnicola deleted the non-block-sock branch November 28, 2018 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants