Skip to content

Commit

Permalink
0.1.2
Browse files Browse the repository at this point in the history
inc buf
client log time
  • Loading branch information
Immueggpain authored and Immueggpain committed Dec 29, 2019
1 parent e9fd430 commit f26a612
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.immueggpain</groupId>
<artifactId>simple-streaming</artifactId>
<version>0.1.1</version>
<version>0.1.2</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
subcommands = { HelpCommand.class, StreamUpload.class, StreamServer.class, Serve.class })
public class Launcher implements Callable<Void> {

public static final String VERSTR = "0.1.1";
public static final String VERSTR = "0.1.2";
public static final int LOCAL_PORT = 2233;
public static final int LOCAL_OVPN_PORT = 1194;
public static final int BUFLEN = 1024 * 256;
public static final int BUFLEN = 1024 * 512;

public static void main(String[] args) {
int exitCode = new CommandLine(new Launcher()).setCaseInsensitiveEnumValuesAllowed(true).execute(args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static long copyLarge(final RandomAccessFile input, final OutputStream o
int n;
while (-1 != (n = input.read(buffer))) {
output.write(buffer, 0, n);
System.out.println("sent " + n);
System.out.println(System.currentTimeMillis() + " sent " + n);
}
return input.getFilePointer();
}
Expand Down

0 comments on commit f26a612

Please sign in to comment.