13463 Commits

Author SHA1 Message Date
Greg Wilkins
6781a949b1 Issue#1066 Simplify HttpGeneration
Reduce the transformations needed on header fields, so they can be more often
set directly and no need to split and recombine.

The Content-Length field is added IF it is needed for framing or if it was explicitly set

The Transfer-Encoding: chunk field is used only as a hint that there is content.

Connection fields are used as is, but are checked for close and keep-alive
2016-11-03 16:55:33 +11:00
Jan Bartel
41d506fe4e Issue #1067 2016-11-03 16:21:24 +11:00
Jan Bartel
2d6ec3aee2 Remove unnecessary cast to DefaultSessionIdManager in Session.invalidate 2016-11-03 14:25:30 +11:00
Jan Bartel
dfdd324bc8 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-03 10:56:35 +11:00
Jan Bartel
f3f31d163c Issue #1050
Add check for duplicate FilterHolder,ServletHolder objects
2016-11-03 10:55:02 +11:00
Joakim Erdfelt
996253c971 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-11-02 11:33:57 -07:00
Joakim Erdfelt
3a8cdc93d8 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-11-02 11:33:43 -07:00
Joakim Erdfelt
c665106fc5 Issue #1057 - Improve WebSocketUpgradeFilter performance
+ Tests for WebSocket upgrade now evaluates the request
  from least common feature to most common feature, so as
  minimize the testing of the request object on every request
2016-11-02 11:28:56 -07:00
Jan Bartel
1a6dd7615d Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-02 17:33:35 +11:00
Jan Bartel
8461cc07b3 Issue #1050 2016-11-02 17:32:55 +11:00
Jan Bartel
7790234589 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-11-02 15:42:03 +11:00
Jan Bartel
ca882c8dee Issue #240
No error if no parts because input stream already consumed.
2016-11-02 15:40:59 +11:00
Jesse McConnell
6a71faf2bf Merge pull request #1048 from WalkerWatch/issues/1041
Issue #1041 - Small updates to documentation.
2016-10-31 14:19:00 -07:00
Joakim Erdfelt
5aebf6c46c Windows test case fix 2016-10-31 11:34:19 -07:00
WalkerWatch
5fc6c8ee14 Issue #1041 - Small updates to documentation.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-10-28 13:03:53 -04:00
Simone Bordet
69aa9d77ee Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-28 12:15:14 +02:00
Simone Bordet
206122756f Fixes #1037 - Don't execute AsyncListener.onTimeout events in spare Scheduler-Thread.
Now calling onTimeout() from pooled threads.
Restored AsyncListener test cases.
2016-10-28 12:01:39 +02:00
Jan Bartel
e7ce13d195 Doc on upgrading 9.3 to 9.4 2016-10-28 16:51:00 +11:00
Greg Wilkins
3e4f7b1fbf Issue #1045 abort connections with non matching content-length 2016-10-28 15:36:19 +11:00
Jan Bartel
96804627ee 480764 Suppress stacks in multipart filter tests 2016-10-28 14:54:40 +11:00
Jan Bartel
da853574f6 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-28 14:41:37 +11:00
Jan Bartel
6f6ccdf061 480764 Add extra tests for empty multipart. 2016-10-28 14:41:05 +11:00
Greg Wilkins
eda0cff90a Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-28 10:55:03 +11:00
Greg Wilkins
9f430ae7f7 Issue #1038 i
Handle resources as URIs
Avoid unneccessary trailing /
2016-10-28 10:50:39 +11:00
Joakim Erdfelt
cdf447e34e Issue #1038 - making testcase more OS independent 2016-10-27 16:43:23 -07:00
Greg Wilkins
6e1994641b Issue #1038
Readded sorting of attributes by length
added .uri attributes
support WAR.path and WAR.uri in preference to WAR
updated for latest unit test
2016-10-28 10:31:22 +11:00
Joakim Erdfelt
2c6c7d86ba Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-10-27 16:17:34 -07:00
Joakim Erdfelt
a00494fafb Issue #1038 - updating test case for AttributeNormalizer 2016-10-27 16:15:46 -07:00
Simone Bordet
5eef2caa7f Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-27 17:11:13 +02:00
Simone Bordet
bda08ad9e3 Tests can throw any exception. 2016-10-27 17:10:34 +02:00
Simone Bordet
c6ad87c3f9 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-27 16:55:12 +02:00
Simone Bordet
5ad8f2a777 Guarded against NPE if the channel is not associated with the stream. 2016-10-27 16:45:12 +02:00
Simone Bordet
8fef113372 Fixes #1046 - Improve HTTP2Flusher error report.
Now remembering the cause of the termination, and propagating it to
other components.
2016-10-27 15:43:41 +02:00
Simone Bordet
8cefaba2a4 Allow process() to throw Throwable, which we catch anyway. 2016-10-27 15:43:12 +02:00
Greg Wilkins
b17dafc2ad Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-27 16:34:44 +11:00
Greg Wilkins
0f7028e9fa Quickstart attribute normilazation #1038
Removed a lot of bad tests that incorrection assumed it was OK to mix Paths and URIs like:
jar:file:${jetty.base}/webapps/some.war!/some/path

refactored to keep PathAttributes and URIAttributes separate
2016-10-27 16:29:52 +11:00
Jan Bartel
90e4d162c8 Issue #907 2016-10-27 16:15:44 +11:00
Jan Bartel
1939a16fe8 Issue #1032
Fix nolog classifier
2016-10-27 11:10:03 +11:00
Joakim Erdfelt
1075fc2df1 Fixing bad merge in apache-jsp/pom.xml 2016-10-26 16:57:24 -07:00
Joakim Erdfelt
55c6514a2e Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-26 16:42:42 -07:00
Jan Bartel
dadb86c831 Issue #1032
Make apache-jsp jar artifact without META-INF/services juli log
2016-10-27 10:37:35 +11:00
Joakim Erdfelt
7256d75e9c Issue #1038 - fixes for MS Windows 2016-10-26 16:09:12 -07:00
Joakim Erdfelt
ca5e075ba0 Issue #1038 - treating ${WAR} as a URI always, not a Path
+ Still needs testing on MS Windows
2016-10-26 15:30:34 -07:00
Joakim Erdfelt
ebc8983721 Issue #1038 - correcting "file:" and double "//" behavior 2016-10-26 14:25:20 -07:00
Joakim Erdfelt
1864b8f00b Merge pull request #1040 from WalkerWatch/issues/upgrading
Updates for upgrading guide.
2016-10-26 12:28:40 -07:00
WalkerWatch
2552f2300b Updates for upgrading guide.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-10-26 15:16:17 -04:00
Joakim Erdfelt
de1a973321 Test case throws declaration fix for Jetty 9.4+ 2016-10-26 12:07:49 -07:00
Joakim Erdfelt
a7ac269027 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-26 11:42:49 -07:00
Joakim Erdfelt
41cd3bd090 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-10-26 10:31:45 -07:00
Joakim Erdfelt
c4a8e684c8 Fixes #1039 - AttributeNormalizer should not track null paths 2016-10-26 10:31:12 -07:00