Skip to content

Commit bed5521

Browse files
committed
jetty 9.4.25
1 parent c7742ec commit bed5521

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

modules/jooby-jetty/src/main/java/io/jooby/internal/jetty/JettyContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ void complete(Throwable x) {
537537
if (request.isAsyncStarted()) {
538538
request.getAsyncContext().complete();
539539
} else {
540-
response.closeOutput();
540+
response.completeOutput();
541541
}
542542
} catch (IOException e) {
543543
log.debug("exception found while closing resources {} {} {}", getMethod(), pathString(), e);

modules/jooby-jetty/src/main/java/io/jooby/internal/jetty/JettyServerSentEmitter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ public JettyServerSentEmitter(JettyContext jetty) {
9696
}
9797
} finally {
9898
try {
99-
jetty.response.closeOutput();
99+
jetty.response.completeOutput();
100100
} catch (IOException x) {
101+
log.debug("server-sent event close resulted in exception", x);
101102
}
102103
}
103104
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
<!-- Server -->
6060
<undertow.version>2.0.28.Final</undertow.version>
61-
<jetty.version>9.4.24.v20191120</jetty.version>
61+
<jetty.version>9.4.25.v20191220</jetty.version>
6262
<netty.version>4.1.44.Final</netty.version>
6363
<boringssl.version>2.0.27.Final</boringssl.version>
6464

0 commit comments

Comments
 (0)