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

Removed the sendMessageWithTimeout and moved the timeout logic #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ashish-varma
Copy link

Removed the sendMessageWithTimeout and moved the timeout logic to the libopenflow library.

to the libopenflow library.

Signed-off-by: Ashish Varma <[email protected]>
Copy link

@wenyingd wenyingd left a comment

Choose a reason for hiding this comment

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

Please update go.mod file to leverage this change antrea-io/libOpenflow#31 after it is merged.

BTW, you also need to update the VERSION file

@@ -377,11 +378,18 @@ func (c *Controller) Parse(b []byte) (message util.Message, err error) {
return
}

func sendMessageWithTimeout(stream *util.MessageStream, msg util.Message) error {
func sendMessage(stream *util.MessageStream, msg util.Message) error {
Copy link

Choose a reason for hiding this comment

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

You may also need to update "Send" function in ofSwitch.go

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