Skip to content

Commit 42ec133

Browse files
chore(implementation)!: use Jetty-12 core without servlets
Port the invoker to upgrade to Eclipse Jetty-12 version 12. Specifically using the new core APIs of Eclipse Jetty-12 that allow the overhead of a Servlet container to be avoided. BREAKING CHANGE: use Java 17 or above, as required by Eclipse Jetty-12. Signed-off-by: Lachlan Roberts <[email protected]>
1 parent 6a9b6f9 commit 42ec133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invoker/core/src/main/java/com/google/cloud/functions/invoker/HttpFunctionExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public boolean handle(Request request, Response response, Callback callback) thr
7979
respImpl.close(callback);
8080
} catch (Throwable t) {
8181
logger.log(Level.SEVERE, "Failed to execute " + function.getClass().getName(), t);
82-
Response.writeError(request, response, callback, HttpStatus.INTERNAL_SERVER_ERROR_500, null, t);
82+
Response.writeError(request, response, callback, HttpStatus.INTERNAL_SERVER_ERROR_500, null);
8383
} finally {
8484
Thread.currentThread().setContextClassLoader(oldContextLoader);
8585
executionIdUtil.removeExecutionId();

0 commit comments

Comments
 (0)