You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/23 12:34:29 UTC
[commons-net] 05/06: Add and use Duration-based timeout method instead of int
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git
commit 00aa2bafad348d2f4ef0e0339b025e3a7187e724
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 23 08:27:24 2023 -0400
Add and use Duration-based timeout method instead of int
- Add and use DatagramSocketClient.setDefaultTimeout(Duration) and
deprecate DatagramSocketClient.setDefaultTimeout(int)
- Add and use TFTP.DEFAULT_TIMEOUT_DURATION and deprecate
org.apache.commons.net.tftp.TFTP.DEFAULT_TIMEOUT
---
src/changes/changes.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9b398243..824a9cc7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -65,6 +65,13 @@ The <action> type attribute can be add,update,fix,remove.
<body>
<release version="3.10.0" date="202Y-MM-DD" description="Maintenance and bug fix release (Java 8).">
+ <!-- ADD -->
+ <action type="add" dev="ggregory" due-to="Gary Gregory">
+ Add and use DatagramSocketClient.setDefaultTimeout(Duration) and deprecate DatagramSocketClient.setDefaultTimeout(int).
+ </action>
+ <action type="add" dev="ggregory" due-to="Gary Gregory">
+ Add and use TFTP.DEFAULT_TIMEOUT_DURATION and deprecate org.apache.commons.net.tftp.TFTP.DEFAULT_TIMEOUT.
+ </action>
<!-- FIX -->
<action type="fix" issue="NET-650" dev="ggregory" due-to="Matthew McGillis, exceptionfactory, sebbASF">
Delegate host resolution to Socket.connect() #138.