mirror of https://github.com/shred/acme4j
Fix connection error
parent
9bcd5a2dd4
commit
becab450d8
|
@ -133,12 +133,12 @@ public class DefaultConnection implements Connection {
|
|||
conn.setFixedLengthStreamingMode(outputData.length);
|
||||
conn.connect();
|
||||
|
||||
logHeaders();
|
||||
|
||||
try (OutputStream out = conn.getOutputStream()) {
|
||||
out.write(outputData);
|
||||
}
|
||||
|
||||
logHeaders();
|
||||
|
||||
session.setNonce(getNonceFromHeader(conn));
|
||||
|
||||
return conn.getResponseCode();
|
||||
|
|
Loading…
Reference in New Issue