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
Add resolved udp connection type, continually resolve dns names in background #520
Commits on Jun 26, 2020
-
Add resolved udp connection type, continually resolve dns names in
background Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Be sure to set buffer bytes width on new connections.
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Lock when checking if resolved addr is new.
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
Commits on Jun 29, 2020
-
Fixes from review comments. Dont return error if UDPConn fails on sta…
…rtup Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Fix failing test. Apparently the linux kernel returns the sockopt val
doubled. Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Use atomic ops to manage bufferBytes instead of locking mutex
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Fix buffer bytes assert because sock opt value is not guaranteed to b…
…e exactly twice set val Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
Commits on Jun 30, 2020
-
Remove intermediate init helpers, initialize close chann in struct
initialization Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
Commits on Jul 3, 2020
-
Fixes based on comments, more tests for udp_client.go, and test for
write retry Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Add test for new conn established when host record changes
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Add test for failed write retry
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Add test calling NewAgentClientUDP
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Remove sleep on last try evaluating connection condition
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
Commits on Jul 7, 2020
-
Rename resolved udp conn to reconnecting udp conn, add opt-out option
for reconnecting client and option for reconnect interval Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Remove irrelevant comment, fix transport max packet size regression
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Add panic in case the test server listen or srv fails unexpectedly
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
Commits on Jul 8, 2020
-
Add back constants, add helper for generating a mock udp addr, require
all assertions of udp write to succeed Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
-
Remove local agent constants from utils
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>
Commits on Jul 9, 2020
-
Move no error requirement into mock udp addr constructor
Signed-off-by: Trevor Foster <trevor.foster@hotmail.ca>