File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
src/us/mn/state/dot/sonar Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11// sonar.rs
22//
3- // Copyright (C) 2021-2024 Minnesota Department of Transportation
3+ // Copyright (C) 2021-2026 Minnesota Department of Transportation
44//
55// This program is free software; you can redistribute it and/or modify
66// it under the terms of the GNU General Public License as published by
@@ -334,7 +334,7 @@ impl Messenger {
334334 let tls_stream = connector. connect ( domain, tcp_stream) . await ?;
335335 Ok ( Messenger {
336336 tls_stream,
337- timeout : Duration :: from_secs ( 5 ) ,
337+ timeout : Duration :: from_secs ( 6 ) ,
338338 rx_buf : vec ! [ 0 ; 32_768 ] ,
339339 offset : 0 ,
340340 count : 0 ,
Original file line number Diff line number Diff line change 11/*
22 * SONAR -- Simple Object Notification And Replication
3- * Copyright (C) 2006-2022 Minnesota Department of Transportation
3+ * Copyright (C) 2006-2026 Minnesota Department of Transportation
44 *
55 * This program is free software; you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -61,8 +61,7 @@ static private SSLEngine createSSLEngine(SSLContext context,
6161 }
6262
6363 /** Get an array of protocol versions to enable */
64- static private String [] getProtocols (SSLEngine engine ,
65- String regex ) {
64+ static private String [] getProtocols (SSLEngine engine , String regex ) {
6665 ArrayList <String > protocols = new ArrayList <String >();
6766 for (String sp : engine .getSupportedProtocols ()) {
6867 if (sp .matches (regex )) {
Original file line number Diff line number Diff line change 11/*
22 * IRIS -- Intelligent Roadway Information System
3- * Copyright (C) 2006-2024 Minnesota Department of Transportation
3+ * Copyright (C) 2006-2026 Minnesota Department of Transportation
44 *
55 * This program is free software; you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -45,8 +45,8 @@ public LdapProvider(String url) {
4545 env .put (Context .INITIAL_CONTEXT_FACTORY ,
4646 "com.sun.jndi.ldap.LdapCtxFactory" );
4747 env .put (Context .PROVIDER_URL , url );
48- env .put ("com.sun.jndi.ldap.connect.timeout" , "5000 " );
49- env .put ("com.sun.jndi.ldap.read.timeout" , "5000 " );
48+ env .put ("com.sun.jndi.ldap.connect.timeout" , "4000 " );
49+ env .put ("com.sun.jndi.ldap.read.timeout" , "4000 " );
5050 if (url .startsWith ("ldaps" )) {
5151 env .put (Context .SECURITY_PROTOCOL , "ssl" );
5252 env .put ("java.naming.ldap.factory.socket" ,
You can’t perform that action at this time.
0 commit comments