diff --git a/boms/bom/pom.xml b/boms/bom/pom.xml
index 27c2e2ba5..c4d1956a2 100644
--- a/boms/bom/pom.xml
+++ b/boms/bom/pom.xml
@@ -1,7 +1,7 @@
@@ -85,7 +85,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/extras/bundles/pom.xml b/extras/bundles/pom.xml
index 64df55bec..1805be031 100644
--- a/extras/bundles/pom.xml
+++ b/extras/bundles/pom.xml
@@ -23,7 +23,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/extras/connection-pool/pom.xml b/extras/connection-pool/pom.xml
index 3406787e9..5f4ab5142 100644
--- a/extras/connection-pool/pom.xml
+++ b/extras/connection-pool/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/extras/grizzly-httpservice/pom.xml b/extras/grizzly-httpservice/pom.xml
index 4ef5188cf..722a2bcf6 100644
--- a/extras/grizzly-httpservice/pom.xml
+++ b/extras/grizzly-httpservice/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
@@ -138,7 +138,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
unpack_osgi_compendium_sources
diff --git a/extras/http-server-jaxws/pom.xml b/extras/http-server-jaxws/pom.xml
index 2626b5242..a23696098 100644
--- a/extras/http-server-jaxws/pom.xml
+++ b/extras/http-server-jaxws/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
@@ -41,24 +41,24 @@
com.sun.xml.ws
jaxws-rt
- 4.0.1
+ 4.0.2
provided
jakarta.xml.ws
jakarta.xml.ws-api
- 4.0.0
+ 4.0.2
com.sun.xml.bind
jaxb-osgi
- 4.0.3
+ 4.0.5
jar
org.glassfish.metro
webservices-osgi
- 4.0.2
+ 4.0.3
jar
diff --git a/extras/http-server-multipart/pom.xml b/extras/http-server-multipart/pom.xml
index 3f6d87869..13dafe39b 100644
--- a/extras/http-server-multipart/pom.xml
+++ b/extras/http-server-multipart/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/extras/http-servlet-extras/pom.xml b/extras/http-servlet-extras/pom.xml
index d4ba929a6..803f006da 100644
--- a/extras/http-servlet-extras/pom.xml
+++ b/extras/http-servlet-extras/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/extras/pom.xml b/extras/pom.xml
index 2c72ced3a..fabc7782a 100644
--- a/extras/pom.xml
+++ b/extras/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../pom.xml
diff --git a/extras/tls-sni/pom.xml b/extras/tls-sni/pom.xml
index c54ca7eb9..937f54e89 100644
--- a/extras/tls-sni/pom.xml
+++ b/extras/tls-sni/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/modules/bundles/comet/pom.xml b/modules/bundles/comet/pom.xml
index c7bd9350d..fcc7c1c6c 100644
--- a/modules/bundles/comet/pom.xml
+++ b/modules/bundles/comet/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../../pom.xml
@@ -49,7 +49,7 @@
maven-clean-plugin
- 3.3.1
+ 3.3.2
@@ -62,7 +62,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/modules/bundles/core/pom.xml b/modules/bundles/core/pom.xml
index ddbab7076..e1705327c 100644
--- a/modules/bundles/core/pom.xml
+++ b/modules/bundles/core/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../../pom.xml
@@ -49,7 +49,7 @@
maven-clean-plugin
- 3.3.1
+ 3.3.2
@@ -62,7 +62,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/modules/bundles/http-all/pom.xml b/modules/bundles/http-all/pom.xml
index 596f3f6fb..03c9df548 100644
--- a/modules/bundles/http-all/pom.xml
+++ b/modules/bundles/http-all/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../../pom.xml
@@ -61,7 +61,7 @@
maven-clean-plugin
- 3.3.1
+ 3.3.2
@@ -74,7 +74,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/modules/bundles/http-servlet/pom.xml b/modules/bundles/http-servlet/pom.xml
index 98c6846d1..ed29fe2cc 100755
--- a/modules/bundles/http-servlet/pom.xml
+++ b/modules/bundles/http-servlet/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../../pom.xml
@@ -53,7 +53,7 @@
maven-clean-plugin
- 3.3.1
+ 3.3.2
@@ -66,7 +66,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/modules/bundles/http/pom.xml b/modules/bundles/http/pom.xml
index 91a2e1b9b..16a508ad9 100755
--- a/modules/bundles/http/pom.xml
+++ b/modules/bundles/http/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../../pom.xml
@@ -66,7 +66,7 @@
maven-clean-plugin
- 3.3.1
+ 3.3.2
@@ -79,7 +79,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/modules/bundles/pom.xml b/modules/bundles/pom.xml
index 4def160c5..522d78738 100644
--- a/modules/bundles/pom.xml
+++ b/modules/bundles/pom.xml
@@ -23,7 +23,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/modules/bundles/websockets/pom.xml b/modules/bundles/websockets/pom.xml
index db12368cb..c172ec894 100644
--- a/modules/bundles/websockets/pom.xml
+++ b/modules/bundles/websockets/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../../pom.xml
@@ -59,7 +59,7 @@
maven-clean-plugin
- 3.3.1
+ 3.3.2
@@ -72,7 +72,7 @@
maven-dependency-plugin
- 3.6.0
+ 3.6.1
src-dependencies
diff --git a/modules/comet/pom.xml b/modules/comet/pom.xml
index 8cc60d9a5..de12c9d70 100644
--- a/modules/comet/pom.xml
+++ b/modules/comet/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/modules/grizzly/pom.xml b/modules/grizzly/pom.xml
index 109781392..97da27e79 100644
--- a/modules/grizzly/pom.xml
+++ b/modules/grizzly/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
@@ -90,7 +90,7 @@
org.codehaus.mojo
build-helper-maven-plugin
- 3.4.0
+ 3.6.0
add-source
diff --git a/modules/http-ajp/pom.xml b/modules/http-ajp/pom.xml
index 9a3e81de3..71744515b 100755
--- a/modules/http-ajp/pom.xml
+++ b/modules/http-ajp/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/modules/http-server/pom.xml b/modules/http-server/pom.xml
index 433b2d8f5..0812ac50b 100644
--- a/modules/http-server/pom.xml
+++ b/modules/http-server/pom.xml
@@ -24,7 +24,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/modules/http-server/src/main/java/org/glassfish/grizzly/http/server/Response.java b/modules/http-server/src/main/java/org/glassfish/grizzly/http/server/Response.java
index d29ff9d1e..9fb64caf7 100755
--- a/modules/http-server/src/main/java/org/glassfish/grizzly/http/server/Response.java
+++ b/modules/http-server/src/main/java/org/glassfish/grizzly/http/server/Response.java
@@ -1,4 +1,5 @@
/*
+ * Copyright (c) 2024 Contributors to the Eclipse Foundation
* Copyright (c) 2008, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
@@ -18,16 +19,13 @@
package org.glassfish.grizzly.http.server;
import static org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARACTER_ENCODING;
+import static org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARSET;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
import java.net.MalformedURLException;
import java.net.URL;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.security.PrivilegedActionException;
-import java.security.PrivilegedExceptionAction;
import java.text.SimpleDateFormat;
import java.util.Collection;
import java.util.LinkedList;
@@ -38,7 +36,6 @@
import java.util.function.Supplier;
import java.util.logging.Level;
import java.util.logging.Logger;
-
import org.glassfish.grizzly.CloseListener;
import org.glassfish.grizzly.CloseType;
import org.glassfish.grizzly.Closeable;
@@ -673,7 +670,7 @@ public boolean isCommitted() {
/**
* Flush the current buffered content to the network.
- *
+ *
* @throws IOException if an occur occurs flushing to the wire.
*/
public void flush() throws IOException {
@@ -954,17 +951,7 @@ public void addCookie(final Cookie cookie) {
final StringBuilder sb = new StringBuilder();
// web application code can receive a IllegalArgumentException
// from the appendCookieValue invokation
- if (System.getSecurityManager() != null) {
- AccessController.doPrivileged(new PrivilegedAction() {
- @Override
- public Object run() {
- CookieSerializerUtils.serializeServerCookie(sb, cookie);
- return null;
- }
- });
- } else {
- CookieSerializerUtils.serializeServerCookie(sb, cookie);
- }
+ CookieSerializerUtils.serializeServerCookie(sb, cookie);
// if we reached here, no exception, cookie is valid
// the header name is Set-Cookie for both "old" and v.1 ( RFC2109 )
@@ -988,17 +975,7 @@ protected void addSessionCookieInternal(final Cookie cookie) {
final StringBuilder sb = new StringBuilder();
// web application code can receive a IllegalArgumentException
// from the appendCookieValue invokation
- if (System.getSecurityManager() != null) {
- AccessController.doPrivileged(new PrivilegedAction
-
+
maven-enforcer-plugin
@@ -225,10 +225,10 @@
- [11,)
+ [17,)
- 3.6.3
+ 3.8.9
diff --git a/samples/connection-pool-samples/pom.xml b/samples/connection-pool-samples/pom.xml
index 4a93bd6cd..0b4e82609 100755
--- a/samples/connection-pool-samples/pom.xml
+++ b/samples/connection-pool-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/framework-samples/pom.xml b/samples/framework-samples/pom.xml
index 28b8cc4e5..64a0563f9 100755
--- a/samples/framework-samples/pom.xml
+++ b/samples/framework-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/http-ajp-samples/pom.xml b/samples/http-ajp-samples/pom.xml
index f8fce5de6..eb7b92aa4 100644
--- a/samples/http-ajp-samples/pom.xml
+++ b/samples/http-ajp-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/http-jaxws-samples/pom.xml b/samples/http-jaxws-samples/pom.xml
index 90bddcc69..04c07a9f8 100644
--- a/samples/http-jaxws-samples/pom.xml
+++ b/samples/http-jaxws-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
@@ -32,7 +32,7 @@
com.sun.xml.ws
jaxws-rt
- 4.0.1
+ 4.0.2
org.glassfish.grizzly
@@ -41,7 +41,7 @@
jakarta.xml.bind
jakarta.xml.bind-api
- 4.0.1
+ 4.0.2
diff --git a/samples/http-multipart-samples/pom.xml b/samples/http-multipart-samples/pom.xml
index db8b7a010..a7c69b920 100644
--- a/samples/http-multipart-samples/pom.xml
+++ b/samples/http-multipart-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/http-samples/pom.xml b/samples/http-samples/pom.xml
index 7448ba404..5d66abe68 100755
--- a/samples/http-samples/pom.xml
+++ b/samples/http-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/http-server-samples/pom.xml b/samples/http-server-samples/pom.xml
index 313b4c6eb..f9ee4cf23 100644
--- a/samples/http-server-samples/pom.xml
+++ b/samples/http-server-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/pom.xml b/samples/pom.xml
index 0cb77d00b..2f90bcce4 100755
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -17,7 +17,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../pom.xml
diff --git a/samples/portunif/pom.xml b/samples/portunif/pom.xml
index 1b1780c57..49c0740ea 100644
--- a/samples/portunif/pom.xml
+++ b/samples/portunif/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml
diff --git a/samples/tls-sni-samples/pom.xml b/samples/tls-sni-samples/pom.xml
index feab1c57d..0c2ab056f 100644
--- a/samples/tls-sni-samples/pom.xml
+++ b/samples/tls-sni-samples/pom.xml
@@ -18,7 +18,7 @@
org.glassfish.grizzly
grizzly-project
- 4.0.2-SNAPSHOT
+ 4.1.0-SNAPSHOT
../../pom.xml