Skip to content

Removed the sendMessageWithTimeout and moved the timeout logic - #58

Open
ashish-varma wants to merge 1 commit into
antrea-io:mainfrom
ashish-varma:main
Open

ashish-varma wants to merge 1 commit into
antrea-io:mainfrom
ashish-varma:main

Conversation

@ashish-varma

Copy link
Copy Markdown

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

to the libopenflow library.

Signed-off-by: Ashish Varma <ashishvarma.ovs@gmail.com>
@ashish-varma
ashish-varma requested a review from wenyingd April 27, 2023 22:12

@wenyingd wenyingd left a comment

Copy link
Copy Markdown

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

Comment thread ofctrl/ofctrl.go
}

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

Copy link
Copy Markdown

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