Ludovic Orban
76962e966a
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-09-16 09:32:11 +02:00
Jan Bartel
5105afafa4
Issue #12241 Restore SameSite config as session cookie comment. ( #12263 )
...
* Issue #12241 Restore SameSite config as session cookie comment in ee8/9.
2024-09-16 08:48:06 +10:00
Olivier Lamy
65e9bba44c
next snapshot
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-09-03 21:44:43 +10:00
Olivier Lamy
816018a420
Updating to version 12.0.13
2024-09-03 13:03:43 +10:00
Lachlan Roberts
f795fb10d0
PR # 12186 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-09-02 15:52:53 +10:00
Lachlan Roberts
677de2fe17
Merge remote-tracking branch 'origin/jetty-12.1.x' into jetty-12.1.x-servletUpgrade
2024-08-29 12:35:05 +10:00
Lachlan Roberts
b6f2c869e5
PR #12186 - Make HttpConnection internal and implement a public Upgrade interface
...
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-08-29 11:44:22 +10:00
gregw
1ea02673ac
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-08-28 20:29:02 +10:00
Greg Wilkins
aa07995f37
sendError(-1) is an abort ( #12206 )
...
restore behaviour from jetty <= 11 where a sendError(-1) is a true abort, without an attempt to send an error response.
2024-08-28 20:24:10 +10:00
Greg Wilkins
7d7eeb3b1e
Experiment with IteratingCallback ( #12040 )
...
The previous semantic of `onCompleteFailure` has been renamed to `onFailure(Throwable)`, which is called immediately (but serialized) on either an abort or a failure. A new `onCompleteFailure(Throwable)` method has been added that is called only after a `failed(throwable)` or a `abort(Throwable)` followed by `succeeded()` or `failed(Throwable)``
No usage has yet been made of the new `onCompleteFailure`, but the ICB implementation has been completely replaced by the one developed in #11876
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2024-08-26 10:18:57 +10:00
Greg Wilkins
8b4e13dbea
Jetty 12.1.x 12088 core requested session ID source ( #12145 )
...
add isRequestedSessionIdFromCookie/URL for core request
Co-authored-by: Jan Bartel <janb@webtide.com>
2024-08-20 15:14:37 +10:00
Simone Bordet
775c458960
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-13 15:54:47 +02:00
Ludovic Orban
347dee0ba5
- Replace ByteBufferPool + size + directness with ByteBufferPool.Sized in HttpContent-related code
...
- Cleanup and javadoc HttpContent
- Align and cleanup offset/length default values
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-08-07 10:37:24 +02:00
Jan Bartel
661546ecff
Issue #12124 fix jsp scratchdir location for ee9. ( #12129 )
...
* Issue #12124 fix jsp scratchdir location for ee9.
Also ensure the name of war appears in the name of the tmp dir for ee9
webapps.
2024-08-06 09:11:16 +10:00
Simone Bordet
f154f210f8
Issue #12023 - Remove WriteFlusher.Listener. ( #12065 )
...
WriteFlusher.Listener functionality was removed, and the class deprecated in 12.0.10 as part of the work for #9778 and #11839 .
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-07-29 11:33:12 +02:00
Joakim Erdfelt
d3af12957b
Updating to version 12.0.13-SNAPSHOT
2024-07-25 17:23:21 -05:00
Joakim Erdfelt
cc6f1b74db
Updating to version 12.0.12
2024-07-25 16:57:59 -05:00
Ludovic Orban
a9a0f164ca
cleanup and javadoc HttpContent ( #12069 )
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-07-25 11:59:19 +10:00
Ludovic Orban
834db77605
Implement HttpContent.writeTo() async API ( #12020 )
...
#8790 implement HttpContent.writeTo() async API
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-07-24 14:07:31 +02:00
Jan Bartel
d43da5279c
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-07-24 16:10:27 +10:00
Jan Bartel
558da27c2d
Issue #12044 ensure temp dir cleaned up ( #12045 )
...
* Issue #12044 ensure temp dir cleaned up
2024-07-24 14:20:52 +10:00
Jan Bartel
b1b2adcaf9
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-07-24 11:32:52 +10:00
Jan Bartel
5c6e27f28f
Issue #12070 fix session lastAccessedTime and isNew ( #12078 )
2024-07-24 11:07:16 +10:00
Joakim Erdfelt
ed0239b17f
More regression testing of forms on ee9 / ee8
2024-07-22 10:59:51 -05:00
Ludovic Orban
7b3e953e56
Merge remote-tracking branch 'origin/jetty-12.0.x' into merge/jetty-12.1.x/update-from-12_0
2024-07-19 11:02:16 +02:00
Joakim Erdfelt
7c42a5b3ae
Fix Regression on ee9 / ee8 MultiPart parsing ( #12031 )
...
* Regressions on ee9 / ee8 MultiPart parsing error behavior
* More testing of error regressions
* Multipart parsing errors return 400 (Bad Request) now, not 500 (Server Error).
2024-07-16 07:52:00 -05:00
Joakim Erdfelt
bfba63d607
Increase visibility of legacy multipart parser
2024-07-15 13:00:04 -05:00
gregw
5903efdf96
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
...
# Conflicts:
# jetty-core/jetty-http3/jetty-http3-common/src/main/java/org/eclipse/jetty/http3/InstructionFlusher.java
# jetty-core/jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java
# jetty-core/jetty-io/src/main/java/org/eclipse/jetty/io/content/BufferedContentSink.java
# jetty-ee10/jetty-ee10-servlet/src/test/java/org/eclipse/jetty/ee10/servlet/ContextScopeListenerTest.java
# jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/HttpOutput.java
2024-07-01 11:05:47 +10:00
Joakim Erdfelt
f5abe07ade
Updating to version 12.0.12-SNAPSHOT
2024-06-27 19:09:24 -05:00
Joakim Erdfelt
9f90cedce3
Updating to version 12.0.11
2024-06-27 18:42:08 -05:00
Greg Wilkins
5e8cc2243e
Remove buffer from pool on write failure ( #11951 )
...
* Experiment with removable buffer from pool
* Changed remove return to be release boolean
* Fixes to avoid double release
* Tracking ByteBufferPool handles remove
* Adding assert on _channelState.isLockHeldByCurrentThread()
---------
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-06-27 18:37:09 -05:00
Joakim Erdfelt
c7ad22e861
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-06-27 06:45:25 -05:00
Greg Wilkins
15bcc5ecb0
Cleanups extracted from delayed PR #11876 ( #11958 )
...
* Cleanups extracted from delayed PR #11876
* Update from review
2024-06-26 16:49:58 +10:00
Greg Wilkins
36538d6e69
RetainableByteBuffer as mutable ( #11801 )
...
Tweaks to the RBB API to make the concept more uniform throughout the codebase.
* Make chunk a RBB
* Added Dynamic RBB as a replacement for both Accumulator and Aggregator
---------
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2024-06-25 08:12:41 +10:00
Joakim Erdfelt
25bb6a2104
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-06-21 15:28:23 -05:00
Jan Bartel
fd263c727d
Jetty 12.0.x object identity ee8 and ee9 ( #11888 )
...
* Fix for ee8/9 object identity
2024-06-20 07:53:53 +02:00
Joakim Erdfelt
af23f51d92
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-06-19 16:18:15 -05:00
Ludovic Orban
9546b3ab49
Fix missing notifyRemoteAsyncErrors http config wiring ( #11897 )
...
Fixed missing notifyRemoteAsyncErrors http config wiring and add tests
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-18 20:00:04 +02:00
Joakim Erdfelt
f653c2f658
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-06-04 10:48:58 -05:00
Olivier Lamy
fb1697fd07
Updating to version 12.0.11-SNAPSHOT
2024-05-30 15:23:16 +10:00
Olivier Lamy
26106dfc84
Updating to version 12.0.10
2024-05-30 14:39:40 +10:00
Jan Bartel
810eccaeea
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-05-28 10:23:00 +10:00
Greg Wilkins
042582813f
Fix #9177 dump JVM info ( #11845 )
...
Fix #9177 dump info from Runtime, Jetty.VERSION and System.getProperties
2024-05-28 10:14:48 +10:00
Greg Wilkins
456fd8020a
removed unused resources ( #11830 )
2024-05-23 14:48:32 +10:00
Simone Bordet
ac47ae8d22
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-20 22:58:06 +02:00
Greg Wilkins
4c1c6a2652
Implemented servlet 6.1 redirect with content ( #11743 )
...
* Implemented servlet 6.1 redirect with content
Added option for server to generate a short html redirect body content, as per RFC9110 (default false)
Allowed an aggregated servlet response content to be used if clear is false.
* Redirect is a noop in include
* Fixed init order
This style of extensibility (calling virtuals from constructors) is very fragile.
* Update javadoc from review
Also update EE10 to also noop included response methods
* Update javadoc from review
Also update EE10 to also noop included response methods
* Update javadoc from review
Also update EE10 to also noop included response methods
* Update jetty-ee11/jetty-ee11-servlet/src/main/java/org/eclipse/jetty/ee11/servlet/ServletApiResponse.java
Co-authored-by: Jan Bartel <janb@webtide.com>
* Updating ee11 jsp-impl to 11.0.0-M19
* Updates from review
* updates from review
* Update jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Response.java
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
---------
Co-authored-by: Jan Bartel <janb@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2024-05-20 23:20:24 +10:00
Ludovic Orban
c97c995642
Don't create circular throwables and don't throw StackOverflowError if one gets logged ( #11793 )
...
#11792 detect loops in throwables to avoid StackOverflowError
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-05-17 11:39:01 +02:00
gregw
22ddb6db77
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x
2024-05-16 17:28:29 +10:00
Joakim Erdfelt
7f9312fe20
Issue #11766 - null out ReadListener on recycle to aid GC.
2024-05-10 10:27:10 +00:00
Jan Bartel
0346b0619f
Issue #11760 fix NPE getRequestURL() for cross context ( #11770 )
...
* Issue #11760 fix NPE getRequestURL() for cross context
---------
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2024-05-10 08:34:43 +02:00