mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-21 07:45:11 +00:00
Merge
This commit is contained in:
commit
9dbee5740e
@ -38,7 +38,7 @@ import static java.lang.System.out;
|
||||
|
||||
public class ChunkedEncodingTest{
|
||||
private static MessageDigest serverDigest, clientDigest;
|
||||
private static byte[] serverMac, clientMac;
|
||||
private static volatile byte[] serverMac, clientMac;
|
||||
|
||||
static void client(String u) throws Exception {
|
||||
URL url = new URL(u);
|
||||
@ -106,7 +106,7 @@ public class ChunkedEncodingTest{
|
||||
while (is.read() != -1);
|
||||
is.close();
|
||||
|
||||
t.sendResponseHeaders (200, MESSAGE_LENGTH);
|
||||
t.sendResponseHeaders (200, 0);
|
||||
OutputStream os = t.getResponseBody();
|
||||
DigestOutputStream dos = new DigestOutputStream(os, serverDigest);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user