We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this function will lost message or make block if the connection of ovs is closing.
// Listen for a Shutdown signal or Outbound messages. func (m *MessageStream) outbound() { for { select { case <-m.Shutdown: log.Infof("Closing OpenFlow message stream.") m.conn.Close() for i := 0; i < numParserGoroutines; i++ { m.parserShutdown <- true } return case msg := <-m.Outbound: // Forward outbound messages to conn data, _ := msg.MarshalBinary() if _, err := m.conn.Write(data); err != nil { log.Warnln("OutboundError:", err) m.Error <- err m.Shutdown <- true } log.Debugf("Sent(%d): %v", len(data), data) } } }
The text was updated successfully, but these errors were encountered:
dead lock for m.Shutdown
Sorry, something went wrong.
No branches or pull requests
this function will lost message or make block if the connection of ovs is closing.
The text was updated successfully, but these errors were encountered: