Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Red5/red5-service
Browse files Browse the repository at this point in the history
  • Loading branch information
mondain committed Jun 1, 2021
2 parents 761498c + 8ccdb72 commit a8fc6bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</developer>
</developers>
<properties>
<commons-daemon.version>1.2.3</commons-daemon.version>
<commons-daemon.version>1.2.4</commons-daemon.version>
</properties>
<build>
<defaultGoal>install</defaultGoal>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/red5/server/Shutdown.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class Shutdown {
public static void main(String[] args) {
String host = System.getProperty("red5.shutdown.host", "127.0.0.1");
try (Socket clientSocket = new Socket(host, Integer.valueOf(args[0])); PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true); BufferedReader in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));) {
System.out.printf("Connected - local: %s remote: %s%n", clientSocket.getLocalSocketAddress().toString(), clientSocket.getRemoteSocketAddress().toString());
// send the token
String token = "cafebeef";
if (args.length > 1) {
Expand Down

0 comments on commit a8fc6bd

Please sign in to comment.