Skip to content

Commit

Permalink
Update Tomcat to 8.5.95; implemented new getLock in WsRemoteEndpointI…
Browse files Browse the repository at this point in the history
…mplBase. Bumped version to 1.3.22
  • Loading branch information
mondain committed Oct 23, 2023
1 parent 3ff4e67 commit d944040
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.3.21</version>
<version>1.3.22</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/src/main/java/org/red5/client/Red5Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public final class Red5Client {
/**
* Current server version with revision
*/
public static final String VERSION = "Red5 Client 1.3.21";
public static final String VERSION = "Red5 Client 1.3.22";

/**
* Create a new Red5Client object using the connection local to the current thread A bit of magic that lets you access the red5 scope
Expand Down
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.3.21</version>
<version>1.3.22</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-server-common</artifactId>
Expand Down Expand Up @@ -124,7 +124,7 @@
<dependency>
<groupId>net.engio</groupId>
<artifactId>mbassador</artifactId>
<version>1.3.21</version>
<version>1.3.22</version>
</dependency> -->
<dependency>
<groupId>junit</groupId>
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/java/org/red5/server/api/Red5.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public final class Red5 {
/**
* Server version with revision
*/
public static final String VERSION = "Red5 Server 1.3.21";
public static final String VERSION = "Red5 Server 1.3.22";

/**
* Server version for fmsVer requests
*/
public static final String FMS_VERSION = "RED5/1,3,21,0";
public static final String FMS_VERSION = "RED5/1,3,22,0";

/**
* Server capabilities
Expand Down
2 changes: 1 addition & 1 deletion io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.3.21</version>
<version>1.3.22</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-io</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<name>Red5</name>
<description>The Red5 server</description>
<groupId>org.red5</groupId>
<version>1.3.21</version>
<version>1.3.22</version>
<url>https://github.com/Red5/red5-server</url>
<inceptionYear>2005</inceptionYear>
<organization>
Expand Down Expand Up @@ -101,7 +101,7 @@
<mina.version>2.0.23</mina.version>
<!-- Can no longer open-end spring, 6.0 forces jdk 17 -->
<spring.version>5.3.24</spring.version>
<tomcat.version>8.5.87</tomcat.version>
<tomcat.version>8.5.95</tomcat.version>
<junit.version>[4.13.1,)</junit.version>
<isoparser.version>1.9.39</isoparser.version>
<tika.version>1.26</tika.version>
Expand Down
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.3.21</version>
<version>1.3.22</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-server</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.net.SocketTimeoutException;
import java.nio.ByteBuffer;
import java.util.concurrent.Executor;
import java.util.concurrent.locks.Lock;

import javax.websocket.SendHandler;
import javax.websocket.SendResult;
Expand Down Expand Up @@ -147,6 +148,13 @@ protected void doClose() {
wsWriteTimeout.unregister(this);
}

// XXX(paul) new method after tomcat 8.5.87
@Override
protected Lock getLock() {
// for a lack of better implementation, we use the socket wrapper lock
return socketWrapper.getLock();
}

protected long getTimeoutExpiry() {
return timeoutExpiry;
}
Expand Down
2 changes: 1 addition & 1 deletion service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.3.21</version>
<version>1.3.22</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-service</artifactId>
Expand Down

0 comments on commit d944040

Please sign in to comment.