Lachlan Roberts
413a644a44
remove longLengthAccumulator field in websocket Parser
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-09 19:02:39 +10:00
Lachlan Roberts
736a576f75
Review of websocket parser, improve testing & comments.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-05-05 18:51:37 +10:00
Joakim Erdfelt
ca3c1756ad
Updating to version 10.0.16-SNAPSHOT
2023-04-11 13:23:25 -05:00
Joakim Erdfelt
68017dbd00
Updating to version 10.0.15
2023-04-11 12:24:32 -05:00
Simone Bordet
fe11b94da8
Fixed javadocs.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 20:22:39 +02:00
Lachlan
dde6e04731
Issue #7121 - Add documentation for websocket configuration. ( #8931 )
...
* Improvements to WebSocket documentation.
* Documented configuration parameters.
* Documented and added a test case for PathSpec usage.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-03-28 19:42:44 +02:00
Olivier Lamy
e62cc0344a
Updating to version 10.0.15-SNAPSHOT
2023-03-01 18:55:10 +10:00
gregw
7a7d69a69f
Happy no year
...
Remove modification date from copyright notice and instead just have the
project inception year.
Signed-off-by: gregw <gregw@webtide.com>
2023-02-15 15:22:32 +11:00
Joakim Erdfelt
54c4c03244
Updating to version 10.0.14-SNAPSHOT
2022-12-07 14:33:17 -06:00
Joakim Erdfelt
1c2636ea05
Updating to version 10.0.13
2022-12-07 14:12:50 -06:00
Simone Bordet
a546027db8
Fixes #9006 - WebSocket MessageInputStream.read() returns signed byte
...
Now properly coverting to `int`.
Added test.
Also fixed MultiPartInputStreamParser.Base64InputStream for the same issue.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-06 15:29:05 +01:00
Baoyi Chen
8404eb0db1
Add log.isDebugEnabled() to reduce string allocation ( #8743 )
...
Signed-off-by: Baoyi Chen <chen.bao.yi@qq.com>
2022-10-20 17:28:01 +10:00
Olivier Lamy
dbd07146ec
merge back release branch to bump version to 10.0.13-SNAPSHOT ( #8593 )
...
* Updating to version 10.0.12
* Updating to version 10.0.13-SNAPSHOT
* VERSION.TXT =+ content of jetty-9.4.49.v20220914 release
* remove strange line and reorder
2022-09-16 19:50:12 +10:00
Joakim Erdfelt
64d12e2a5a
Merge Release 10.0.11 back into `jetty-10.0.x` branch ( #8194 )
...
* Updating to version 10.0.11
* Updating to version 10.0.12-SNAPSHOT
2022-06-22 16:24:48 -05:00
Joakim Erdfelt
c2bc103cb9
Merge Release 10.0.10 back into `jetty-10.0.x` ( #8180 )
...
* Updating to version 10.0.11-SNAPSHOT
2022-06-21 14:41:41 +02:00
Lachlan
0699bc5326
Use static exceptions for closing websocket flushers and in ContentProducer ( #8155 )
...
* Use StaticException class in jetty-util for websocket flushers.
* Use StaticException class for ContentProducer recycle and consumeAll
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2022-06-13 14:11:31 +02:00
Lachlan Roberts
3901159093
remove IOException from Extension.close() interface.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-09 08:12:06 +10:00
Lachlan Roberts
f4c54f4571
remove close to incomingFlusher in PerMessageDeflateExtension
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-08 10:49:23 +10:00
Lachlan Roberts
e578791518
Changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-08 10:44:17 +10:00
Lachlan Roberts
5a24f90064
Improve cleanup of deflater/inflater pools for PerMessageDeflateExtension
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-07 18:52:48 +10:00
dependabot[bot]
c2c1ea8d9a
Bump maven-bundle-plugin from 5.1.4 to 5.1.5 ( #7933 )
...
* Bump maven-bundle-plugin from 5.1.4 to 5.1.5
Bumps maven-bundle-plugin from 5.1.4 to 5.1.5.
---
updated-dependencies:
- dependency-name: org.apache.felix:maven-bundle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Standardize maven-bundle-plugin usage (to avoid build error)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-05-06 16:24:40 -05:00
Joakim Erdfelt
16420f0181
Set version to `10.0.10-SNAPSHOT` ( #7823 )
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-04-03 20:33:44 +10:00
Joakim Erdfelt
f079949a35
Merge Release 10.0.9 ( #7821 )
...
* Updating to version 10.0.9
* Updating to version 10.0.10
2022-04-02 08:43:44 -05:00
Simone Bordet
a4fda96f49
Updating to version 10.0.9-SNAPSHOT
2022-02-07 12:02:02 +01:00
Simone Bordet
716c7afd8e
Updating to version 10.0.8
2022-02-07 11:34:12 +01:00
Joakim Erdfelt
cb127793e5
Happy New Year 2022 ( #7459 )
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-01-27 10:42:30 -06:00
Lachlan
2b41e4d231
Issue #7351 - large WebSocket payloads with permessage-deflate hang ( #7360 )
...
PerMessageDeflateExtension and FragmentExtensions now intercept demand for incoming frames. These extensions may fragment a single frame into many frames, so they must wait until a new frame has been demanded before forwarding the next synthetic frame to the application.
2022-01-19 10:47:45 +11:00
Lachlan
33c9536d12
Merge pull request #7058 from eclipse/jetty-10.0.x-2504-WebSocketDump
...
Issue #2504 - expose more WebSocket details in jetty server dump
2021-12-02 19:55:50 +11:00
Lachlan Roberts
6b6452a519
Issue #7086 - Demand should not throw if the WebSocket session is closed.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-11-09 10:37:44 +11:00
Lachlan Roberts
bd7f1b114e
Issue #2504 - expose more WebSocket details in jetty server dump
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-10-29 14:26:38 +11:00
Joakim Erdfelt
cfc67f86d2
Updating to version 10.0.8-SNAPSHOT
2021-10-06 14:51:32 -05:00
Joakim Erdfelt
da8a4553af
Updating to version 10.0.7
2021-10-06 14:32:37 -05:00
Simone Bordet
0412bdc3d9
Fixes #6938 - module-info.java file do not use the canonical order for the elements
...
Changed order of entries in module-info.java to be canonical
(cherry picked from commit 02691171d5
)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-10-01 09:25:55 +02:00
dependabot[bot]
b44dde6098
Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0 ( #6755 )
...
* Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0
Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer ) from 3.0.0-M3 to 3.0.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases )
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.0.0-M3...enforcer-3.0.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix some upper bound issues and exclude more javax
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
* fix upperbound dependencies issue with enforcer plugin upgrade
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
* exclude this wrong which makes enforcer plugin fail and btw it's not used
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
* fix last enforcer upperbound issues
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-14 06:10:48 +10:00
Lachlan
dff5e14bb5
Merge pull request #6680 from eclipse/jetty-10.0.x-6601-WebSocketJPMS
...
Issue #6601 - fix JPMS issues for websocket-core-common
2021-09-02 10:24:08 +10:00
Lachlan Roberts
763820e111
ByteBufferCallbackAccumulator.writeTo should do buffer flipping
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-30 14:58:16 +10:00
Lachlan Roberts
ead1f6b160
Issue #6601 - export websocket-core-common to jetty-util for DecoratedObjectFactory
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-30 11:43:54 +10:00
Lachlan Roberts
1dce9df48d
Issue #6566 - cleanups of ByteBufferCallbackAccumulator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-27 11:49:18 +10:00
Lachlan Roberts
83f2265653
Issue #6642 - never shutdown output after generating a request.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-26 14:18:28 +10:00
Lachlan Roberts
fd6c72c668
Issue #6566 - do not duplicate size count for binary MessageSinks
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-24 10:55:47 +10:00
Lachlan Roberts
026261f482
Issue #6566 - use counter in BufferCallbackAccumulator, fix InputStreamMessageSinkTest failures
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-18 17:10:12 +10:00
Lachlan Roberts
65ff0bb081
Fix broken test in OutgoingMessageCapture.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-18 13:15:16 +10:00
Lachlan Roberts
5236e47c42
Issue #6566 - utilise the demand interface in the websocket MessageSinks
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-18 11:04:14 +10:00
Lachlan Roberts
d3dfe353be
Expose the isInputOpen() method in CoreSession interface.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-18 11:00:39 +10:00
Lachlan Roberts
646707b85c
Issue #6602 - do not invoke SessionListener onOpen if session has been closed in OnOpen
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-12 15:50:25 +10:00
Lachlan Roberts
edec52893b
Add name on WebSocketComponents default threadpool
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-04 16:49:15 +10:00
Lachlan Roberts
14c09e3c98
Issue #6566 - fix WebSocketComponents LifeCycle issue
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-04 13:28:10 +10:00
Lachlan Roberts
bbabaee8cc
Issue #6566 - add executor to WebSocketComponents & use for Dispatched Messages
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-08-04 11:24:10 +10:00
Ludovic Orban
c9a5d8df58
#6322 Use RetainableByteBuffer and write a new pool for it
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-24 11:14:21 +02:00
Joakim Erdfelt
c245a70893
Updating to version 10.0.7-SNAPSHOT
2021-06-29 10:51:22 -05:00